pub enum Block<'a> {
SectionHeader(SectionHeader<'a>),
InterfaceDescription(InterfaceDescription<'a>),
ObsoletePacket(ObsoletePacket<'a>),
SimplePacket(SimplePacket),
NameResolution(NameResolution),
InterfaceStatistics(InterfaceStatistics<'a>),
EnhancedPacket(EnhancedPacket<'a>),
IRIGTimestamp,
Arinc429,
Unknown(u32),
}
Variants§
SectionHeader(SectionHeader<'a>)
InterfaceDescription(InterfaceDescription<'a>)
ObsoletePacket(ObsoletePacket<'a>)
SimplePacket(SimplePacket)
NameResolution(NameResolution)
InterfaceStatistics(InterfaceStatistics<'a>)
EnhancedPacket(EnhancedPacket<'a>)
IRIGTimestamp
Arinc429
Unknown(u32)
Implementations§
Trait Implementations§
source§impl<'a> From<EnhancedPacket<'a>> for Block<'a>
impl<'a> From<EnhancedPacket<'a>> for Block<'a>
source§fn from(x: EnhancedPacket<'a>) -> Self
fn from(x: EnhancedPacket<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> From<InterfaceDescription<'a>> for Block<'a>
impl<'a> From<InterfaceDescription<'a>> for Block<'a>
source§fn from(x: InterfaceDescription<'a>) -> Self
fn from(x: InterfaceDescription<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> From<InterfaceStatistics<'a>> for Block<'a>
impl<'a> From<InterfaceStatistics<'a>> for Block<'a>
source§fn from(x: InterfaceStatistics<'a>) -> Self
fn from(x: InterfaceStatistics<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> From<NameResolution> for Block<'a>
impl<'a> From<NameResolution> for Block<'a>
source§fn from(x: NameResolution) -> Self
fn from(x: NameResolution) -> Self
Converts to this type from the input type.
source§impl<'a> From<ObsoletePacket<'a>> for Block<'a>
impl<'a> From<ObsoletePacket<'a>> for Block<'a>
source§fn from(x: ObsoletePacket<'a>) -> Self
fn from(x: ObsoletePacket<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> From<SectionHeader<'a>> for Block<'a>
impl<'a> From<SectionHeader<'a>> for Block<'a>
source§fn from(x: SectionHeader<'a>) -> Self
fn from(x: SectionHeader<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> From<SimplePacket> for Block<'a>
impl<'a> From<SimplePacket> for Block<'a>
source§fn from(x: SimplePacket) -> Self
fn from(x: SimplePacket) -> Self
Converts to this type from the input type.