Struct spin::MutexGuard
[−]
[src]
pub struct MutexGuard<'a, T: 'a> {
// some fields omitted
}A guard to which the protected data can be accessed
When the guard falls out of scope it will release the lock.
Trait Implementations
impl<'a, T> Deref for MutexGuard<'a, T>[src]
impl<'a, T> DerefMut for MutexGuard<'a, T>[src]
fn deref_mut<'b>(&'b mut self) -> &'b mut T
impl<'a, T> Drop for MutexGuard<'a, T>[src]
fn drop(&mut self)
The dropping of the MutexGuard will release the lock it was created from.