pub struct DecodedHeader<'a> {
pub header: Header,
pub extensions: DecodedExtensions<'a>,
}
Expand description
A wrapper around the PROXY Protocol v2 header and its extensions.
Fields§
§header: Header
The PROXY Protocol v2 header.
extensions: DecodedExtensions<'a>
Extensions of the PROXY Protocol v2 header.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DecodedHeader<'a>
impl<'a> RefUnwindSafe for DecodedHeader<'a>
impl<'a> Send for DecodedHeader<'a>
impl<'a> Sync for DecodedHeader<'a>
impl<'a> Unpin for DecodedHeader<'a>
impl<'a> UnwindSafe for DecodedHeader<'a>
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