pub struct ReadLoan<T: PlainType> { /* private fields */ }Expand description
A sample read without a copy: in the shared memory of the writer that loaned it, held there until this is dropped, or a value of its own (a sample that was serialized).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for ReadLoan<T>
impl<T> Freeze for ReadLoan<T>where
*const ArcInner<Pool> is !null: Freeze,
PhantomData<ArcInner<Pool>>: Freeze,
PhantomData<T>: Freeze,
*const T is !null: Freeze,
impl<T> Move for ReadLoan<T>
impl<T> RefUnwindSafe for ReadLoan<T>
impl<T> Send for ReadLoan<T>
impl<T> Sync for ReadLoan<T>
impl<T> Unpin for ReadLoan<T>
impl<T> UnsafeUnpin for ReadLoan<T>where
*const ArcInner<Pool> is !null: UnsafeUnpin,
PhantomData<ArcInner<Pool>>: UnsafeUnpin,
PhantomData<T>: UnsafeUnpin,
*const T is !null: UnsafeUnpin,
impl<T> UnwindSafe for ReadLoan<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