Struct try_lock::Locked [−][src]
pub struct Locked<'a, T: 'a> { /* fields omitted */ }
A locked value acquired from a TryLock
.
The type represents an exclusive view at the underlying value. The lock is released when this type is dropped.
This type derefs to the underlying value.
Trait Implementations
impl<'a, T> Deref for Locked<'a, T>
[src]
impl<'a, T> Deref for Locked<'a, T>
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
fn deref(&self) -> &T
Dereferences the value.
impl<'a, T> DerefMut for Locked<'a, T>
[src]
impl<'a, T> DerefMut for Locked<'a, T>
impl<'a, T> Drop for Locked<'a, T>
[src]
impl<'a, T> Drop for Locked<'a, T>
impl<'a, T: Debug> Debug for Locked<'a, T>
[src]
impl<'a, T: Debug> Debug for Locked<'a, T>