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]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.