pub struct ICoWRead<'read, ITEM: Debug + Send> { /* private fields */ }Expand description
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.
Trait Implementations§
Auto Trait Implementations§
impl<'read, ITEM> Freeze for ICoWRead<'read, ITEM>
impl<'read, ITEM> RefUnwindSafe for ICoWRead<'read, ITEM>where
ITEM: RefUnwindSafe,
impl<'read, ITEM> Send for ICoWRead<'read, ITEM>where
ITEM: Sync,
impl<'read, ITEM> Sync for ICoWRead<'read, ITEM>where
ITEM: Sync,
impl<'read, ITEM> Unpin for ICoWRead<'read, ITEM>
impl<'read, ITEM> UnwindSafe for ICoWRead<'read, ITEM>where
ITEM: RefUnwindSafe,
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