pub struct Read<'a, T> { /* private fields */ }
Expand description
A handle to a SyncPushVec with read access.
It is acquired either by a pin, or by exclusive access to the vector.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Read<'a, T>
impl<'a, T> !RefUnwindSafe for Read<'a, T>
impl<'a, T> Send for Read<'a, T>where
T: Sync,
impl<'a, T> Sync for Read<'a, T>where
T: Sync,
impl<'a, T> Unpin for Read<'a, T>
impl<'a, T> !UnwindSafe for Read<'a, 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