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
sourceimpl<'a> From<EnhancedPacket<'a>> for Block<'a>
impl<'a> From<EnhancedPacket<'a>> for Block<'a>
sourcefn from(x: EnhancedPacket<'a>) -> Self
fn from(x: EnhancedPacket<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<InterfaceDescription<'a>> for Block<'a>
impl<'a> From<InterfaceDescription<'a>> for Block<'a>
sourcefn from(x: InterfaceDescription<'a>) -> Self
fn from(x: InterfaceDescription<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<InterfaceStatistics<'a>> for Block<'a>
impl<'a> From<InterfaceStatistics<'a>> for Block<'a>
sourcefn from(x: InterfaceStatistics<'a>) -> Self
fn from(x: InterfaceStatistics<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<NameResolution> for Block<'a>
impl<'a> From<NameResolution> for Block<'a>
sourcefn from(x: NameResolution) -> Self
fn from(x: NameResolution) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<ObsoletePacket<'a>> for Block<'a>
impl<'a> From<ObsoletePacket<'a>> for Block<'a>
sourcefn from(x: ObsoletePacket<'a>) -> Self
fn from(x: ObsoletePacket<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<SectionHeader<'a>> for Block<'a>
impl<'a> From<SectionHeader<'a>> for Block<'a>
sourcefn from(x: SectionHeader<'a>) -> Self
fn from(x: SectionHeader<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<SimplePacket> for Block<'a>
impl<'a> From<SimplePacket> for Block<'a>
sourcefn from(x: SimplePacket) -> Self
fn from(x: SimplePacket) -> Self
Converts to this type from the input type.
impl<'a> StructuralPartialEq for Block<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnwindSafe for Block<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more