pub(crate) struct Encode<'a, T> {
    head: &'a mut MessageHead<T>,
    body: Option<BodyLength>,
    req_method: &'a mut Option<Method>,
    title_case_headers: bool,
}Expand description
Passed to Http1Transaction::encode
Fields§
§head: &'a mut MessageHead<T>§body: Option<BodyLength>§req_method: &'a mut Option<Method>§title_case_headers: boolAuto Trait Implementations§
impl<'a, T> Freeze for Encode<'a, T>
impl<'a, T> !RefUnwindSafe for Encode<'a, T>
impl<'a, T> Send for Encode<'a, T>where
    T: Send,
impl<'a, T> Sync for Encode<'a, T>where
    T: Sync,
impl<'a, T> Unpin for Encode<'a, T>
impl<'a, T> !UnwindSafe for Encode<'a, T>
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