enum BufKind<B> {
Exact(B),
Limited(Take<B>),
Chunked(Chain<Chain<ChunkSize, B>, &'static [u8]>),
ChunkedEnd(&'static [u8]),
}
Variants§
Exact(B)
Limited(Take<B>)
Chunked(Chain<Chain<ChunkSize, B>, &'static [u8]>)
ChunkedEnd(&'static [u8])
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for BufKind<B>where
B: Freeze,
impl<B> RefUnwindSafe for BufKind<B>where
B: RefUnwindSafe,
impl<B> Send for BufKind<B>where
B: Send,
impl<B> Sync for BufKind<B>where
B: Sync,
impl<B> Unpin for BufKind<B>where
B: Unpin,
impl<B> UnwindSafe for BufKind<B>where
B: 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