[src]

Struct sync::mutex::Guard

pub struct Guard<'a> {
    // some fields omitted
}

An RAII implementation of a "scoped lock" of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

Trait Implementations

impl<'a> Drop for Guard<'a>

fn drop(&mut self)