pub enum LockResult {
Acquired,
OwnerDiedRecovered,
}
Expand description
The result of locking an interprocess mutex.
Variants§
Acquired
Mutex acquired normally without prior owner death.
OwnerDiedRecovered
Mutex acquired after recovering from a previous owner’s death.
Auto Trait Implementations§
impl Freeze for LockResult
impl RefUnwindSafe for LockResult
impl Send for LockResult
impl Sync for LockResult
impl Unpin for LockResult
impl UnwindSafe for LockResult
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