#[repr(u8)]pub enum LockStatus {
LOCK0 = 0,
LOCK1 = 1,
}Variants§
Implementations§
Source§impl LockStatus
impl LockStatus
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 From<LockStatus> for u8
impl From<LockStatus> for u8
Source§fn from(val: LockStatus) -> u8
fn from(val: LockStatus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for LockStatus
impl From<u8> for LockStatus
Source§fn from(val: u8) -> LockStatus
fn from(val: u8) -> LockStatus
Converts to this type from the input type.
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