pub struct NSTDUnixMutexGuard<'m, 'a> { /* private fields */ }Available on crate feature
os_unix_mutex only.Expand description
A handle to a mutex’s protected data.
Trait Implementations§
Source§impl Drop for NSTDUnixMutexGuard<'_, '_>
Available on crate feature os only.
impl Drop for NSTDUnixMutexGuard<'_, '_>
Available on crate feature
os only.impl Sync for NSTDUnixMutexGuard<'_, '_>
Available on crate feature
os only.§Safety
The data that the guard is protecting must be able to be safely shared between threads.
Auto Trait Implementations§
impl<'m, 'a> Freeze for NSTDUnixMutexGuard<'m, 'a>
impl<'m, 'a> !RefUnwindSafe for NSTDUnixMutexGuard<'m, 'a>
impl<'m, 'a> !Send for NSTDUnixMutexGuard<'m, 'a>
impl<'m, 'a> Unpin for NSTDUnixMutexGuard<'m, 'a>
impl<'m, 'a> !UnwindSafe for NSTDUnixMutexGuard<'m, 'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more