pub struct ProxyHdrV1 { /* private fields */ }Implementations§
Source§impl ProxyHdrV1
impl ProxyHdrV1
pub fn parse(input_data: &[u8]) -> Result<(usize, Self), Error>
pub fn to_remote_addr(self) -> RemoteAddress
Trait Implementations§
Source§impl Clone for ProxyHdrV1
impl Clone for ProxyHdrV1
Source§fn clone(&self) -> ProxyHdrV1
fn clone(&self) -> ProxyHdrV1
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 ProxyHdrV1
impl RefUnwindSafe for ProxyHdrV1
impl Send for ProxyHdrV1
impl Sync for ProxyHdrV1
impl Unpin for ProxyHdrV1
impl UnwindSafe for ProxyHdrV1
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