#[repr(u32)]pub enum LockType {
Read,
Write,
BlockingRead,
BlockingWrite,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LockType
impl<'de> Deserialize<'de> for LockType
source§fn deserialize<D>(deserializer: D) -> Result<LockType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<LockType, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LockType> for LockType
impl PartialEq<LockType> for LockType
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§
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