pub struct Head<'input, F> {
pub method: &'input [u8],
pub target: &'input [u8],
pub version: u8,
pub admission: Admission,
pub connection: Connection,
pub fields: F,
pub header_len: NonZero<u32>,
}Expand description
Complete request head borrowing the exact scanned wire owner.
Fields§
§method: &'input [u8]§target: &'input [u8]§version: u8§admission: Admission§connection: Connection§fields: F§header_len: NonZero<u32>Implementations§
Auto Trait Implementations§
impl<'input, F> Freeze for Head<'input, F>where
F: Freeze,
impl<'input, F> RefUnwindSafe for Head<'input, F>where
F: RefUnwindSafe,
impl<'input, F> Send for Head<'input, F>where
F: Send,
impl<'input, F> Sync for Head<'input, F>where
F: Sync,
impl<'input, F> Unpin for Head<'input, F>where
F: Unpin,
impl<'input, F> UnsafeUnpin for Head<'input, F>where
F: UnsafeUnpin,
impl<'input, F> UnwindSafe for Head<'input, F>where
F: 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