pub enum PortKind {
Data,
Exec,
}Expand description
Port kind.
Variants§
Implementations§
Trait Implementations§
impl Copy for PortKind
Source§impl<'de> Deserialize<'de> for PortKind
impl<'de> Deserialize<'de> for PortKind
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
impl Eq for PortKind
Source§impl Ord for PortKind
impl Ord for PortKind
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 PartialOrd for PortKind
impl PartialOrd for PortKind
impl StructuralPartialEq for PortKind
Auto Trait Implementations§
impl Freeze for PortKind
impl RefUnwindSafe for PortKind
impl Send for PortKind
impl Sync for PortKind
impl Unpin for PortKind
impl UnsafeUnpin for PortKind
impl UnwindSafe for PortKind
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