pub struct WriteLoan<T: PlainType> { /* private fields */ }Expand description
A sample loaned to a writer to fill: in shared memory when the writer
has a pool, else on the heap. It holds zeros, or (a slot used again)
an earlier sample of the writer; it is published
with DataWriter::write_loaned,
and returned unwritten when dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for WriteLoan<T>
impl<T> Freeze for WriteLoan<T>where
WriteInner<T>: Freeze,
impl<T> Move for WriteLoan<T>
impl<T> RefUnwindSafe for WriteLoan<T>where
WriteInner<T>: RefUnwindSafe,
impl<T> Send for WriteLoan<T>where
WriteInner<T>: Send,
impl<T> Sync for WriteLoan<T>where
WriteInner<T>: Sync,
impl<T> Unpin for WriteLoan<T>where
WriteInner<T>: Unpin,
impl<T> UnsafeUnpin for WriteLoan<T>where
WriteInner<T>: UnsafeUnpin,
impl<T> UnwindSafe for WriteLoan<T>where
WriteInner<T>: UnwindSafe,
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