pub enum IpGateDenial {
Blacklisted,
NotInWhitelist,
}Expand description
Why the global IP gate denied a request.
Variants§
Blacklisted
The IP is on the blacklist (exemption does not win).
NotInWhitelist
A non-empty whitelist matched neither the IP nor any exemption (a
match would be a plain whitelist pass; exemption never opens the gate).
Implementations§
Trait Implementations§
Source§impl Clone for IpGateDenial
impl Clone for IpGateDenial
impl Copy for IpGateDenial
Source§impl Debug for IpGateDenial
impl Debug for IpGateDenial
impl Eq for IpGateDenial
Source§impl PartialEq for IpGateDenial
impl PartialEq for IpGateDenial
impl StructuralPartialEq for IpGateDenial
Auto Trait Implementations§
impl Freeze for IpGateDenial
impl RefUnwindSafe for IpGateDenial
impl Send for IpGateDenial
impl Sync for IpGateDenial
impl Unpin for IpGateDenial
impl UnsafeUnpin for IpGateDenial
impl UnwindSafe for IpGateDenial
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.