pub enum ExposureMode {
OutboundOnly,
Ipv4PublicDirect,
Ipv4CgnatBlocked,
Ipv6DirectFirewallRequired,
Ipv6DirectPinholeAvailable,
RelayRequired,
TunnelRequired,
DualStackAvailable,
}Expand description
ADR-043 §9 — canonical 8-category network exposure classification.
Variants§
OutboundOnly
Ipv4PublicDirect
Ipv4CgnatBlocked
Ipv6DirectFirewallRequired
Ipv6DirectPinholeAvailable
RelayRequired
TunnelRequired
DualStackAvailable
Implementations§
Trait Implementations§
Source§impl Clone for ExposureMode
impl Clone for ExposureMode
Source§fn clone(&self) -> ExposureMode
fn clone(&self) -> ExposureMode
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 moreSource§impl Debug for ExposureMode
impl Debug for ExposureMode
Source§impl Display for ExposureMode
impl Display for ExposureMode
impl Eq for ExposureMode
Source§impl PartialEq for ExposureMode
impl PartialEq for ExposureMode
Source§fn eq(&self, other: &ExposureMode) -> bool
fn eq(&self, other: &ExposureMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExposureMode
Auto Trait Implementations§
impl Freeze for ExposureMode
impl RefUnwindSafe for ExposureMode
impl Send for ExposureMode
impl Sync for ExposureMode
impl Unpin for ExposureMode
impl UnsafeUnpin for ExposureMode
impl UnwindSafe for ExposureMode
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.