pub enum RouteIpVerdict {
Unrestricted,
Allowed,
Denied,
}Expand description
The outcome of the route-level IP gate for one request IP
(check_route_ip_access’s tri-state, the country arms aside; see
RouteIpGate::evaluate_access for the combined verdict).
Variants§
Unrestricted
The route IP lists leave the request alone: neither list matched in a denying way and no restrictive whitelist claims the route. The global gate decides as usual.
Allowed
A configured route whitelist matched the IP (or nothing denied): the route stage passes.
Denied
A route blacklist match, or a miss under a configured route whitelist: the route stage denies.
Trait Implementations§
Source§impl Clone for RouteIpVerdict
impl Clone for RouteIpVerdict
impl Copy for RouteIpVerdict
Source§impl Debug for RouteIpVerdict
impl Debug for RouteIpVerdict
impl Eq for RouteIpVerdict
Source§impl PartialEq for RouteIpVerdict
impl PartialEq for RouteIpVerdict
impl StructuralPartialEq for RouteIpVerdict
Auto Trait Implementations§
impl Freeze for RouteIpVerdict
impl RefUnwindSafe for RouteIpVerdict
impl Send for RouteIpVerdict
impl Sync for RouteIpVerdict
impl Unpin for RouteIpVerdict
impl UnsafeUnpin for RouteIpVerdict
impl UnwindSafe for RouteIpVerdict
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.