pub enum PortTypeEnum {
EMPTY,
TCP,
UDP,
SCTP,
}
Variants§
Trait Implementations§
Source§impl AsRef<str> for PortTypeEnum
impl AsRef<str> for PortTypeEnum
Source§impl Clone for PortTypeEnum
impl Clone for PortTypeEnum
Source§fn clone(&self) -> PortTypeEnum
fn clone(&self) -> PortTypeEnum
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 PortTypeEnum
impl Debug for PortTypeEnum
Source§impl<'de> Deserialize<'de> for PortTypeEnum
impl<'de> Deserialize<'de> for PortTypeEnum
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 Display for PortTypeEnum
impl Display for PortTypeEnum
Source§impl FromStr for PortTypeEnum
impl FromStr for PortTypeEnum
Source§impl Ord for PortTypeEnum
impl Ord for PortTypeEnum
Source§fn cmp(&self, other: &PortTypeEnum) -> Ordering
fn cmp(&self, other: &PortTypeEnum) -> 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 for PortTypeEnum
impl PartialEq for PortTypeEnum
Source§impl PartialOrd for PortTypeEnum
impl PartialOrd for PortTypeEnum
Source§impl Serialize for PortTypeEnum
impl Serialize for PortTypeEnum
impl Copy for PortTypeEnum
impl Eq for PortTypeEnum
impl StructuralPartialEq for PortTypeEnum
Auto Trait Implementations§
impl Freeze for PortTypeEnum
impl RefUnwindSafe for PortTypeEnum
impl Send for PortTypeEnum
impl Sync for PortTypeEnum
impl Unpin for PortTypeEnum
impl UnwindSafe for PortTypeEnum
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