pub enum OutboundDefaultPolicy {
Accept,
Drop,
}
Expand description
Default policy for outbound rules
Variants§
Trait Implementations§
source§impl Clone for OutboundDefaultPolicy
impl Clone for OutboundDefaultPolicy
source§fn clone(&self) -> OutboundDefaultPolicy
fn clone(&self) -> OutboundDefaultPolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OutboundDefaultPolicy
impl Debug for OutboundDefaultPolicy
source§impl Default for OutboundDefaultPolicy
impl Default for OutboundDefaultPolicy
source§fn default() -> OutboundDefaultPolicy
fn default() -> OutboundDefaultPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OutboundDefaultPolicy
impl<'de> Deserialize<'de> for OutboundDefaultPolicy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for OutboundDefaultPolicy
impl Hash for OutboundDefaultPolicy
source§impl Ord for OutboundDefaultPolicy
impl Ord for OutboundDefaultPolicy
source§fn cmp(&self, other: &OutboundDefaultPolicy) -> Ordering
fn cmp(&self, other: &OutboundDefaultPolicy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OutboundDefaultPolicy> for OutboundDefaultPolicy
impl PartialEq<OutboundDefaultPolicy> for OutboundDefaultPolicy
source§fn eq(&self, other: &OutboundDefaultPolicy) -> bool
fn eq(&self, other: &OutboundDefaultPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OutboundDefaultPolicy> for OutboundDefaultPolicy
impl PartialOrd<OutboundDefaultPolicy> for OutboundDefaultPolicy
source§fn partial_cmp(&self, other: &OutboundDefaultPolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &OutboundDefaultPolicy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for OutboundDefaultPolicy
impl Serialize for OutboundDefaultPolicy
impl Copy for OutboundDefaultPolicy
impl Eq for OutboundDefaultPolicy
impl StructuralEq for OutboundDefaultPolicy
impl StructuralPartialEq for OutboundDefaultPolicy
Auto Trait Implementations§
impl RefUnwindSafe for OutboundDefaultPolicy
impl Send for OutboundDefaultPolicy
impl Sync for OutboundDefaultPolicy
impl Unpin for OutboundDefaultPolicy
impl UnwindSafe for OutboundDefaultPolicy
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.