Skip to main content

WriteLockResult

Type Alias WriteLockResult 

Source
pub type WriteLockResult = LockResult<PtrMut>;
Expand description

Result of acquiring a write/mutex lock (exclusive access) - data is mutable

Aliased Type§

pub struct WriteLockResult { /* private fields */ }

Implementations§

Source§

impl WriteLockResult

Source

pub const fn data_const(&self) -> PtrConst

Returns a const pointer to the locked data (convenience for write locks)