pub struct ProxyFacts { /* private fields */ }Expand description
Facts copied from a trusted PROXY header into fixed arrays.
let facts = net_io::ProxyFacts::default();
assert!(facts.alpn().is_none());Implementations§
Source§impl ProxyFacts
impl ProxyFacts
The authority (host name) the client asked the proxy for.
Sourcepub fn ssl_client(&self) -> Option<u8>
pub fn ssl_client(&self) -> Option<u8>
The SSL client flags the proxy reported.
Trait Implementations§
Source§impl Clone for ProxyFacts
impl Clone for ProxyFacts
impl Copy for ProxyFacts
Source§impl Debug for ProxyFacts
impl Debug for ProxyFacts
Source§impl Default for ProxyFacts
impl Default for ProxyFacts
Source§fn default() -> ProxyFacts
fn default() -> ProxyFacts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProxyFacts
impl RefUnwindSafe for ProxyFacts
impl Send for ProxyFacts
impl Sync for ProxyFacts
impl Unpin for ProxyFacts
impl UnsafeUnpin for ProxyFacts
impl UnwindSafe for ProxyFacts
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