Struct monitor::MonitorGuard [] [src]

pub struct MonitorGuard<'a, T: 'a> {
    // some fields omitted
}

Methods

impl<'a, T: 'a> MonitorGuard<'a, T>
[src]

fn new(cvar: &'a Condvar, guard: MutexGuard<'a, T>) -> MonitorGuard<'a, T>

fn wait(&mut self)

fn wait_timeout(&mut self, t: Duration) -> WaitTimeoutResult

fn notify_one(&self)

fn notify_all(&self)

Trait Implementations

impl<'a, T> Deref for MonitorGuard<'a, T>
[src]

type Target = T

The resulting type after dereferencing

fn deref(&self) -> &T

The method called to dereference a value

impl<'a, T> DerefMut for MonitorGuard<'a, T>
[src]

fn deref_mut(&mut self) -> &mut T

The method called to mutably dereference a value