pub struct ExclusiveAccess<'a, T> { /* private fields */ }
Expand description
This token represents exclusive access to the value protected by the Arbiter
.
Trait Implementations§
source§impl<T> Deref for ExclusiveAccess<'_, T>
impl<T> Deref for ExclusiveAccess<'_, T>
source§impl<T> DerefMut for ExclusiveAccess<'_, T>
impl<T> DerefMut for ExclusiveAccess<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ExclusiveAccess<'a, T>
impl<'a, T> !RefUnwindSafe for ExclusiveAccess<'a, T>
impl<'a, T> Send for ExclusiveAccess<'a, T>where
T: Send,
impl<'a, T> Sync for ExclusiveAccess<'a, T>where
T: Sync,
impl<'a, T> Unpin for ExclusiveAccess<'a, T>
impl<'a, T> !UnwindSafe for ExclusiveAccess<'a, T>
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