Enum peppi::model::primitives::Port [−][src]
#[repr(u8)]
pub enum Port {
P1,
P2,
P3,
P4,
}
Variants
P1
P2
P3
P4
Trait Implementations
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
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Port
impl UnwindSafe for Port
Blanket Implementations
Mutably borrows from an owned value. Read more