pub struct WriteGuard<'a, T, O> { /* private fields */ }Expand description
Can be used to write to the Data structure.
When this structure exists the Reader already switched to the other value
Dropping this makes all changes available to the Reader.
Implementations§
Source§impl<T, O> WriteGuard<'_, T, O>
impl<T, O> WriteGuard<'_, T, O>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, O> Freeze for WriteGuard<'a, T, O>
impl<'a, T, O> !RefUnwindSafe for WriteGuard<'a, T, O>
impl<'a, T, O> Send for WriteGuard<'a, T, O>
impl<'a, T, O> Sync for WriteGuard<'a, T, O>where
T: Sync,
impl<'a, T, O> Unpin for WriteGuard<'a, T, O>
impl<'a, T, O> !UnwindSafe for WriteGuard<'a, T, O>
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