pub struct TryLock { /* private fields */ }Expand description
The built lock. Use this object’s try_lock to ensure mutual exclusion.
Implementations§
Auto Trait Implementations§
impl Freeze for TryLock
impl !RefUnwindSafe for TryLock
impl !Send for TryLock
impl !Sync for TryLock
impl Unpin for TryLock
impl !UnwindSafe for TryLock
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