Skip to main content

MutexGuard

Type Alias MutexGuard 

Source
pub type MutexGuard<'a, T> = MutexGuard<'a, RawMutex, T>;
Expand description

An RAII guard which unlocks the mutex when dropped.

The data protected by the mutex can be accessed through this guard via its Deref and DerefMut implementations.

Aliased Typeยง

pub struct MutexGuard<'a, T> { /* private fields */ }