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.
Trait Implementations§
Source§impl Clone for LockResult
impl Clone for LockResult
Source§fn clone(&self) -> LockResult
fn clone(&self) -> LockResult
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 moreAuto 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