pub enum TryLockError {
WouldBlock,
}
Expand description
An enumeration of possible errors associated with a TryLockResult
.
Note that until Poisoning is implemented, there is only one value of this.
Variants§
WouldBlock
The lock could not be acquired at this time because the operation would otherwise block.
Auto Trait Implementations§
impl Freeze for TryLockError
impl RefUnwindSafe for TryLockError
impl Send for TryLockError
impl Sync for TryLockError
impl Unpin for TryLockError
impl UnwindSafe for TryLockError
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