pub struct ICoWRead<'read, ITEM: Sized> { /* private fields */ }Expand description
A Single thread realization.
A read only guard. Implements Deref only. The guarded value is valid
all the time, even if the inner value was updated. The updated value
will not be visible in the current instance until re-read is
performed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'read, ITEM> !RefUnwindSafe for ICoWRead<'read, ITEM>
impl<'read, ITEM> !Send for ICoWRead<'read, ITEM>
impl<'read, ITEM> !Sync for ICoWRead<'read, ITEM>
impl<'read, ITEM> !UnwindSafe for ICoWRead<'read, ITEM>
impl<'read, ITEM> Freeze for ICoWRead<'read, ITEM>
impl<'read, ITEM> Unpin for ICoWRead<'read, ITEM>
impl<'read, ITEM> UnsafeUnpin for ICoWRead<'read, ITEM>
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