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