pub struct Mutex { /* private fields */ }
Expand description
A Mutex that does not protect against interrupts, but does protect against other cores
Implementations§
Auto Trait Implementations§
impl !Freeze for Mutex
impl RefUnwindSafe for Mutex
impl Send for Mutex
impl Sync for Mutex
impl Unpin for Mutex
impl UnwindSafe for Mutex
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