pub enum LockStatus {
Ok = 0,
Blocked = 1,
Error = 2,
Grace = 3,
}Variants§
Trait Implementations§
Source§impl Clone for LockStatus
impl Clone for LockStatus
Source§fn clone(&self) -> LockStatus
fn clone(&self) -> LockStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockStatus
impl Debug for LockStatus
Source§impl Hash for LockStatus
impl Hash for LockStatus
Source§impl Ord for LockStatus
impl Ord for LockStatus
Source§fn cmp(&self, other: &LockStatus) -> Ordering
fn cmp(&self, other: &LockStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LockStatus
impl PartialEq for LockStatus
Source§impl PartialOrd for LockStatus
impl PartialOrd for LockStatus
impl Copy for LockStatus
impl Eq for LockStatus
impl StructuralPartialEq for LockStatus
Auto Trait Implementations§
impl Freeze for LockStatus
impl RefUnwindSafe for LockStatus
impl Send for LockStatus
impl Sync for LockStatus
impl Unpin for LockStatus
impl UnwindSafe for LockStatus
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