pub enum NetDirection {
None,
Loopback,
Outbound,
InboundListen,
}Expand description
Network direction (v1.4 §2.5).
Variants§
Trait Implementations§
Source§impl Clone for NetDirection
impl Clone for NetDirection
Source§fn clone(&self) -> NetDirection
fn clone(&self) -> NetDirection
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 NetDirection
Source§impl Debug for NetDirection
impl Debug for NetDirection
Source§impl Default for NetDirection
impl Default for NetDirection
Source§fn default() -> NetDirection
fn default() -> NetDirection
Returns the “default value” for a type. Read more
impl Eq for NetDirection
Source§impl FacetTerm for NetDirection
impl FacetTerm for NetDirection
Source§impl Hash for NetDirection
impl Hash for NetDirection
Source§impl Ord for NetDirection
impl Ord for NetDirection
Source§fn cmp(&self, other: &NetDirection) -> Ordering
fn cmp(&self, other: &NetDirection) -> Ordering
1.21.0 (const: unstable) · 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 for NetDirection
impl PartialEq for NetDirection
Source§impl PartialOrd for NetDirection
impl PartialOrd for NetDirection
impl StructuralPartialEq for NetDirection
Auto Trait Implementations§
impl Freeze for NetDirection
impl RefUnwindSafe for NetDirection
impl Send for NetDirection
impl Sync for NetDirection
impl Unpin for NetDirection
impl UnsafeUnpin for NetDirection
impl UnwindSafe for NetDirection
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.