pub struct Http11HeadersReadOutput {
pub response: HttpResponse,
pub remaining: Vec<u8>,
pub keep_alive: bool,
}Expand description
Terminal output of Http11HeadersRead; the response body is
empty at this stage.
Fields§
§response: HttpResponseThe parsed response, head only.
remaining: Vec<u8>Bytes already buffered past the end of the head.
keep_alive: boolWhether the server signalled the connection can be reused.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Http11HeadersReadOutput
impl RefUnwindSafe for Http11HeadersReadOutput
impl Send for Http11HeadersReadOutput
impl Sync for Http11HeadersReadOutput
impl Unpin for Http11HeadersReadOutput
impl UnsafeUnpin for Http11HeadersReadOutput
impl UnwindSafe for Http11HeadersReadOutput
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