pub enum LockMode {
Advisory,
Mandatory,
Other(String),
}
Expand description
The mode of a lock (advisory or mandatory)
Variants
Advisory
Mandatory
Other(String)
Some other unknown lock mode
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LockMode
impl Send for LockMode
impl Sync for LockMode
impl Unpin for LockMode
impl UnwindSafe for LockMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more