Struct std::sync::MutexGuard[src]

pub struct MutexGuard<'a, T> {
    pub cond: Condvar<'a>,
    // some fields omitted
}

An guard which is created by locking a mutex. Through this guard the underlying data can be accessed.

Fields

cond

Trait Implementations

impl<'a, T: Send> Deref<T> for MutexGuard<'a, T>

fn deref<'a, T: Send>(&'a self) -> &'a T

impl<'a, T: Send> DerefMut<T> for MutexGuard<'a, T>

fn deref_mut<'a, T: Send>(&'a mut self) -> &'a mut T