pub struct NSTDUnixMutex<'a> { /* private fields */ }Available on crate feature
os_unix_mutex only.Expand description
A mutual exclusion primitive useful for protecting shared data.
Trait Implementations§
impl Send for NSTDUnixMutex<'_>
Available on crate feature
os only.§Safety
The data that the mutex is protecting must be able to be safely sent between threads.
impl Sync for NSTDUnixMutex<'_>
Available on crate feature
os only.§Safety
The data that the mutex is protecting must be able to be safely shared between threads.
Auto Trait Implementations§
impl<'a> !Freeze for NSTDUnixMutex<'a>
impl<'a> !RefUnwindSafe for NSTDUnixMutex<'a>
impl<'a> Unpin for NSTDUnixMutex<'a>
impl<'a> UnwindSafe for NSTDUnixMutex<'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