pub enum ProxyProtocolHeader {
    V1(HeaderV1),
    V2(HeaderV2),
}Variants§
Implementations§
source§impl ProxyProtocolHeader
 
impl ProxyProtocolHeader
pub fn into_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl Debug for ProxyProtocolHeader
 
impl Debug for ProxyProtocolHeader
source§impl PartialEq for ProxyProtocolHeader
 
impl PartialEq for ProxyProtocolHeader
source§fn eq(&self, other: &ProxyProtocolHeader) -> bool
 
fn eq(&self, other: &ProxyProtocolHeader) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ProxyProtocolHeader
Auto Trait Implementations§
impl RefUnwindSafe for ProxyProtocolHeader
impl Send for ProxyProtocolHeader
impl Sync for ProxyProtocolHeader
impl Unpin for ProxyProtocolHeader
impl UnwindSafe for ProxyProtocolHeader
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
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