pub struct Chunked { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'req> Shape<'req> for Chunked
impl<'req> Shape<'req> for Chunked
type StreamInner = NeverStream
fn write_into_slice(&self, out: &mut [u8], date: &[u8; 29]) -> Option<usize>
fn write_head_split( self, out: &mut [u8], date: &[u8; 29], ) -> Option<(usize, Shared)>
fn preserialize(&self) -> (Vec<u8>, usize)
fn write_head_only( &self, out: &mut [u8], date: &[u8; 29], ) -> Option<(usize, &'static [u8])>
fn preserialize_static(&self) -> Option<(Vec<u8>, usize, &'static [u8])>
fn write_head_stream( self, out: &mut [u8], date: &[u8; 29], ) -> Option<(usize, Self::StreamInner)>
fn body_for_gzip(&self) -> Option<&[u8]>
fn apply_gzip_body(&mut self, _compressed: Shared)
fn status(&self) -> StatusCode
fn body_bytes(&self) -> &[u8] ⓘ
fn headers_wire(&self) -> Shared
Auto Trait Implementations§
impl !RefUnwindSafe for Chunked
impl !Send for Chunked
impl !Sync for Chunked
impl !UnwindSafe for Chunked
impl Freeze for Chunked
impl Unpin for Chunked
impl UnsafeUnpin for Chunked
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