Struct read_copy_update::Reader
source · pub struct Reader<T: 'static> { /* private fields */ }
Expand description
The reader handle for a value stored in an Rcu
.
Specific values can be read using Reader::read
. Readers are !Sync
and expected to be used
only on a single thread.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Reader<T>
impl<T> Send for Reader<T>
impl<T> !Sync for Reader<T>
impl<T> Unpin for Reader<T>
impl<T> UnwindSafe for Reader<T>where
T: 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