pub struct MutualExclusion;Expand description
Indicator type for a mutual exclusion lock.
This can be used as the LockLevel::Method associated type for lock
levels whose data is accessed by enforcing mutual exclusion.
Auto Trait Implementations§
impl Freeze for MutualExclusion
impl RefUnwindSafe for MutualExclusion
impl Send for MutualExclusion
impl Sync for MutualExclusion
impl Unpin for MutualExclusion
impl UnwindSafe for MutualExclusion
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