pub enum ClientIpSource {
Connecting,
ForwardedChain,
Unknown,
}Expand description
Where the extracted client identity came from (the reference
extract_client_ip’s arms).
Variants§
Connecting
The connecting peer itself (not a trusted proxy, or nothing to walk).
ForwardedChain
Resolved from the X-Forwarded-For chain at the declared depth.
Unknown
No connecting peer at all (the unknown identity, or the unix
proxy arm walking from unknown).
Trait Implementations§
Source§impl Clone for ClientIpSource
impl Clone for ClientIpSource
impl Copy for ClientIpSource
Source§impl Debug for ClientIpSource
impl Debug for ClientIpSource
impl Eq for ClientIpSource
Source§impl PartialEq for ClientIpSource
impl PartialEq for ClientIpSource
impl StructuralPartialEq for ClientIpSource
Auto Trait Implementations§
impl Freeze for ClientIpSource
impl RefUnwindSafe for ClientIpSource
impl Send for ClientIpSource
impl Sync for ClientIpSource
impl Unpin for ClientIpSource
impl UnsafeUnpin for ClientIpSource
impl UnwindSafe for ClientIpSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.