pub enum LockType {
FLock,
Posix,
ODF,
Other(String),
}
Expand description
The type of a file lock
Variants
FLock
A BSD file lock created using flock
Posix
A POSIX byte-range lock created with fcntl
ODF
An Open File Description (ODF) lock created with fnctl
Other(String)
Some other unknown lock type
Implementations
Trait Implementations
impl Eq for LockType
impl StructuralEq for LockType
impl StructuralPartialEq for LockType
Auto Trait Implementations
impl RefUnwindSafe for LockType
impl Send for LockType
impl Sync for LockType
impl Unpin for LockType
impl UnwindSafe for LockType
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