Struct rustrt::exclusive::ExclusiveGuard[src]

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

An RAII guard returned via lock

Methods

impl<'a, T: Send> ExclusiveGuard<'a, T>

fn signal(&self)

fn wait(&self)

Trait Implementations

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

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

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

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