pub enum NetworkDirection {
Outbound,
Listening,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for NetworkDirection
impl Clone for NetworkDirection
Source§fn clone(&self) -> NetworkDirection
fn clone(&self) -> NetworkDirection
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 NetworkDirection
impl Debug for NetworkDirection
Source§impl<'de> Deserialize<'de> for NetworkDirection
impl<'de> Deserialize<'de> for NetworkDirection
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 NetworkDirection
impl Hash for NetworkDirection
Source§impl PartialEq for NetworkDirection
impl PartialEq for NetworkDirection
Source§fn eq(&self, other: &NetworkDirection) -> bool
fn eq(&self, other: &NetworkDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NetworkDirection
impl Serialize for NetworkDirection
impl Eq for NetworkDirection
impl StructuralPartialEq for NetworkDirection
Auto Trait Implementations§
impl Freeze for NetworkDirection
impl RefUnwindSafe for NetworkDirection
impl Send for NetworkDirection
impl Sync for NetworkDirection
impl Unpin for NetworkDirection
impl UnsafeUnpin for NetworkDirection
impl UnwindSafe for NetworkDirection
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