pub(crate) enum OpenMode {
ReadOnlyIgnore,
ReadOnlyWarn,
ReadWriteIgnore,
ReadWriteRequire,
}Variants§
ReadOnlyIgnore
Open read-only. Ignore encryption status.
ReadOnlyWarn
Open read-only. Warn if encrypted and no key was provided.
ReadWriteIgnore
Open read-write. Ignore encryption status.
ReadWriteRequire
Open read-write. Fail if encrypted and no key was provided.
Implementations§
Trait Implementations§
impl Copy for OpenMode
impl Eq for OpenMode
impl StructuralPartialEq for OpenMode
Auto Trait Implementations§
impl Freeze for OpenMode
impl RefUnwindSafe for OpenMode
impl Send for OpenMode
impl Sync for OpenMode
impl Unpin for OpenMode
impl UnwindSafe for OpenMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more