Struct priomutex::spin_one::MutexGuard [] [src]

pub struct MutexGuard<'a, T: 'a>(_);

An RAII guard. Frees the mutex when dropped.

It can be dereferenced to access the data protected by the mutex.

Trait Implementations

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

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<'a, T> !Send for MutexGuard<'a, T>

impl<'a, T> Sync for MutexGuard<'a, T> where
    T: Sync