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