enum BufKind<B> {
    Exact(B),
    Limited(Take<B>),
    Chunked(Chain<Chain<ChunkSize, B>, &'static [u8]>),
    ChunkedEnd(&'static [u8]),
    Trailers(Chain<Chain<&'static [u8], Bytes>, &'static [u8]>),
}Variants§
Exact(B)
Limited(Take<B>)
Chunked(Chain<Chain<ChunkSize, B>, &'static [u8]>)
ChunkedEnd(&'static [u8])
Trailers(Chain<Chain<&'static [u8], Bytes>, &'static [u8]>)
Trait Implementations§
Auto Trait Implementations§
impl<B> !Freeze for BufKind<B>
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