pub struct WriteGuard<'a, T: Send + Sync + 'static, B: Strategy<T>> { /* private fields */ }Expand description
An RAII guard providing mutable access (DerefMut) to the underlying data T.
While this guard is alive, the data is guaranteed to remain loaded in memory.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, B> Freeze for WriteGuard<'a, T, B>
impl<'a, T, B> !RefUnwindSafe for WriteGuard<'a, T, B>
impl<'a, T, B> Send for WriteGuard<'a, T, B>
impl<'a, T, B> Sync for WriteGuard<'a, T, B>
impl<'a, T, B> Unpin for WriteGuard<'a, T, B>
impl<'a, T, B> !UnwindSafe for WriteGuard<'a, T, B>
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