pub enum EgressEvaluation {
Allow,
Deny,
DeferUntilHostname,
}Expand description
Outcome of an egress evaluation. Like Action plus a deferred
state reachable only under HostnameSource::Deferred.
Variants§
Allow
Permit the connection.
Deny
Refuse the connection.
DeferUntilHostname
First match was a Domain / DomainSuffix rule and the SNI isn’t known yet — accept the SYN and re-evaluate at first-flight.
Trait Implementations§
Source§impl Clone for EgressEvaluation
impl Clone for EgressEvaluation
Source§fn clone(&self) -> EgressEvaluation
fn clone(&self) -> EgressEvaluation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EgressEvaluation
Source§impl Debug for EgressEvaluation
impl Debug for EgressEvaluation
impl Eq for EgressEvaluation
Source§impl From<Action> for EgressEvaluation
impl From<Action> for EgressEvaluation
Source§impl From<EgressEvaluation> for Action
impl From<EgressEvaluation> for Action
Source§fn from(eval: EgressEvaluation) -> Self
fn from(eval: EgressEvaluation) -> Self
DeferUntilHostname is unreachable here (only the SYN handler
asks for deferral, and it doesn’t request an Action). Debug
builds panic; release falls back to Deny.
Source§impl PartialEq for EgressEvaluation
impl PartialEq for EgressEvaluation
Source§fn eq(&self, other: &EgressEvaluation) -> bool
fn eq(&self, other: &EgressEvaluation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EgressEvaluation
Auto Trait Implementations§
impl Freeze for EgressEvaluation
impl RefUnwindSafe for EgressEvaluation
impl Send for EgressEvaluation
impl Sync for EgressEvaluation
impl Unpin for EgressEvaluation
impl UnsafeUnpin for EgressEvaluation
impl UnwindSafe for EgressEvaluation
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.