pub enum ChunkInput<'a> {
Data(&'a [u8]),
End,
}
Expand description
Objects returned from the ChunkStream iterator.
This is either more data in the current chunk, or a chunk boundary.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for ChunkInput<'a>
impl<'a> RefUnwindSafe for ChunkInput<'a>
impl<'a> Send for ChunkInput<'a>
impl<'a> Sync for ChunkInput<'a>
impl<'a> Unpin for ChunkInput<'a>
impl<'a> UnwindSafe for ChunkInput<'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