Struct NoopRawMutex
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§
§impl NoopRawMutex
impl NoopRawMutex
pub const fn new() -> NoopRawMutex
pub const fn new() -> NoopRawMutex
Create a new NoopRawMutex.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoopRawMutex
impl RefUnwindSafe for NoopRawMutex
impl !Sync for NoopRawMutex
impl Unpin for NoopRawMutex
impl UnsafeUnpin 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