Skip to main content

SMutex

Type Alias SMutex 

Source
pub type SMutex<'a> = StorageStateMut<'a, MutexStorage>;
Expand description

Mutable-guard storage backend for MutexStorage.

This is the concrete guard storage used by SArcMutex::borrow_mut. Prefer a generic S: SMut bound unless you intentionally need to restrict a function to mutex-backed shared state.

Aliased Typeยง

pub struct SMutex<'a>(/* private fields */);