Struct std::sync::StaticMutexGuardExperimental [-]  [+] [src]

pub struct StaticMutexGuard {
    // some fields omitted
}

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

Trait Implementations

impl AsMutexGuard for StaticMutexGuard

unsafe fn as_mutex_guard(&self) -> &StaticMutexGuard

impl Drop for StaticMutexGuard

fn drop(&mut self)