pub struct TryLock;
Expand description
Marker for trying to obtain a lock in a fallible way.
Trait Implementations
sourceimpl<'a, V> MutexMethod<'a, V> for TryLock
impl<'a, V> MutexMethod<'a, V> for TryLock
sourceimpl ReadLockMethod for TryLock
impl ReadLockMethod for TryLock
sourceimpl<'a, V> ReentrantMutexMethod<'a, V> for TryLock
impl<'a, V> ReentrantMutexMethod<'a, V> for TryLock
Auto Trait Implementations
impl RefUnwindSafe for TryLock
impl Send for TryLock
impl Sync for TryLock
impl Unpin for TryLock
impl UnwindSafe for TryLock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more