pub enum LockStatus {
Mine,
Taken,
Open,
}
Expand description
Possible status a Lock can have.
Variants§
Mine
The current process owns the lock.
Taken
Last I checked, someone else owns the lock.
Open
Last I checked, no-one has the lock.
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