#[repr(u8)]pub enum Owner {
None = 0,
Mine = 1,
Other = 2,
}Expand description
SET_CONFIG lock owner (PROTOCOL.md §6.3).
Variants§
None = 0
No client currently holds the lock.
Mine = 1
The calling client holds the lock.
Other = 2
A different client holds the lock.
Implementations§
Trait Implementations§
impl Copy for Owner
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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