pub struct ScopeCellWriteGuard<'a> { /* private fields */ }Expand description
Slot-level exclusive guard returned by ScopeCell::try_write.
It intentionally does not dereference to Scope: active CPUs may retain a
shared identity for the stable inner object, so writers receive only the
item-level mutation capability authorized by the exclusive gate.
Trait Implementations§
Source§impl Drop for ScopeCellWriteGuard<'_>
impl Drop for ScopeCellWriteGuard<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ScopeCellWriteGuard<'a>
impl<'a> !Send for ScopeCellWriteGuard<'a>
impl<'a> !Sync for ScopeCellWriteGuard<'a>
impl<'a> !UnwindSafe for ScopeCellWriteGuard<'a>
impl<'a> Freeze for ScopeCellWriteGuard<'a>
impl<'a> Unpin for ScopeCellWriteGuard<'a>
impl<'a> UnsafeUnpin for ScopeCellWriteGuard<'a>
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