pub struct NoopRawMutex { /* private fields */ }
Expand description
A mutex that allows borrowing data in the context of a single executor.
§Safety
This Mutex is only safe within a single executor.
Implementations§
Source§impl NoopRawMutex
impl NoopRawMutex
Trait Implementations§
Source§impl RawMutex for NoopRawMutex
impl RawMutex for NoopRawMutex
impl Send for NoopRawMutex
Auto Trait Implementations§
impl Freeze for NoopRawMutex
impl RefUnwindSafe for NoopRawMutex
impl !Sync for NoopRawMutex
impl Unpin for NoopRawMutex
impl UnwindSafe for NoopRawMutex
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