pub enum ProxyProtocolConfig {
ExpectHeader,
SendHeader,
RelayHeader,
}
Variants
ExpectHeader
SendHeader
RelayHeader
Trait Implementations
sourceimpl Clone for ProxyProtocolConfig
impl Clone for ProxyProtocolConfig
sourcefn clone(&self) -> ProxyProtocolConfig
fn clone(&self) -> ProxyProtocolConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProxyProtocolConfig
impl Debug for ProxyProtocolConfig
sourceimpl<'de> Deserialize<'de> for ProxyProtocolConfig
impl<'de> Deserialize<'de> for ProxyProtocolConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for ProxyProtocolConfig
impl Hash for ProxyProtocolConfig
sourceimpl PartialEq<ProxyProtocolConfig> for ProxyProtocolConfig
impl PartialEq<ProxyProtocolConfig> for ProxyProtocolConfig
sourcefn eq(&self, other: &ProxyProtocolConfig) -> bool
fn eq(&self, other: &ProxyProtocolConfig) -> bool
sourceimpl Serialize for ProxyProtocolConfig
impl Serialize for ProxyProtocolConfig
impl Eq for ProxyProtocolConfig
impl StructuralEq for ProxyProtocolConfig
impl StructuralPartialEq for ProxyProtocolConfig
Auto Trait Implementations
impl RefUnwindSafe for ProxyProtocolConfig
impl Send for ProxyProtocolConfig
impl Sync for ProxyProtocolConfig
impl Unpin for ProxyProtocolConfig
impl UnwindSafe for ProxyProtocolConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more