pub enum Acquired {
Held(Lock),
Contended,
Unavailable(Error),
}Expand description
What acquisition found.
Variants§
Held(Lock)
This run holds the checkout.
Contended
Another live run holds it: normal, and skipped in silence.
The lock cannot be taken at all: the mechanism itself is broken.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Acquired
impl !UnwindSafe for Acquired
impl Freeze for Acquired
impl Send for Acquired
impl Sync for Acquired
impl Unpin for Acquired
impl UnsafeUnpin for Acquired
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