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]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.
impl<'a, T> DerefMut for MutexGuard<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> !Send for MutexGuard<'a, T>
impl<'a, T> Sync for MutexGuard<'a, T> where
T: Sync,
T: Sync,