#[repr(u8)]pub enum LockState {
Notfullylocked = 0,
Locked = 1,
Unlocked = 2,
Unlatched = 3,
}Variants§
Notfullylocked = 0
Lock state is not fully locked
Locked = 1
Lock state is fully locked
Unlocked = 2
Lock state is fully unlocked
Unlatched = 3
Lock state is fully unlocked and the latch is pulled
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockState
impl<'de> Deserialize<'de> for LockState
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
impl Copy for LockState
impl Eq for LockState
impl StructuralPartialEq for LockState
Auto Trait Implementations§
impl Freeze for LockState
impl RefUnwindSafe for LockState
impl Send for LockState
impl Sync for LockState
impl Unpin for LockState
impl UnwindSafe for LockState
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