pub struct SeqLockWriter<T: Copy> { /* private fields */ }
Expand description
The writer handle for the SeqLock
.
Only one writer exists for a SeqLock
.
There is no Clone bound since we want to enforce only one writer.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SeqLockWriter<T>
impl<T> !RefUnwindSafe for SeqLockWriter<T>
impl<T> Send for SeqLockWriter<T>where
T: Send,
impl<T> Sync for SeqLockWriter<T>where
T: Send,
impl<T> Unpin for SeqLockWriter<T>
impl<T> !UnwindSafe for SeqLockWriter<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