pub struct CowChunk<'a> { /* private fields */ }
Expand description
Copy-on-write chunk.
This type holds a reference to the underlying ring-buffer data, so it is necessary to drop this type as early as possible to avoid the ring buffer being stuck due to insufficient space.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CowChunk<'a>
impl<'a> RefUnwindSafe for CowChunk<'a>
impl<'a> Send for CowChunk<'a>
impl<'a> Sync for CowChunk<'a>
impl<'a> Unpin for CowChunk<'a>
impl<'a> UnwindSafe for CowChunk<'a>
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