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§
source§impl<'de> Deserialize<'de> for LockType
impl<'de> Deserialize<'de> for LockType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more