pub struct ProxyHdrV2 { /* private fields */ }
Implementations§
Source§impl ProxyHdrV2
impl ProxyHdrV2
pub fn parse(input_data: &[u8]) -> Result<(usize, Self), Error>
pub fn to_remote_addr(self) -> RemoteAddress
Trait Implementations§
Source§impl Clone for ProxyHdrV2
impl Clone for ProxyHdrV2
Source§fn clone(&self) -> ProxyHdrV2
fn clone(&self) -> ProxyHdrV2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ProxyHdrV2
impl RefUnwindSafe for ProxyHdrV2
impl Send for ProxyHdrV2
impl Sync for ProxyHdrV2
impl Unpin for ProxyHdrV2
impl UnwindSafe for ProxyHdrV2
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