[][src]Struct asterix::AsterixPacket

pub struct AsterixPacket {
    pub category: u8,
    pub length: u16,
    pub messages: Vec<AsterixMessage>,
}

Fields

category: u8

Category of all messages

length: u16

Total length of AsterixPacket

messages: Vec<AsterixMessage>

Asterix Messages

Implementations

impl AsterixPacket[src]

pub fn finalize(&mut self) -> Result<(), DekuError>[src]

Update fspec and len

Trait Implementations

impl Debug for AsterixPacket[src]

impl Default for AsterixPacket[src]

impl DekuContainerRead for AsterixPacket[src]

impl DekuContainerWrite for AsterixPacket[src]

impl DekuRead<()> for AsterixPacket[src]

impl DekuUpdate for AsterixPacket[src]

impl DekuWrite<()> for AsterixPacket[src]

impl PartialEq<AsterixPacket> for AsterixPacket[src]

impl StructuralPartialEq for AsterixPacket[src]

impl<'_> TryFrom<&'_ [u8]> for AsterixPacket[src]

type Error = DekuError

The type returned in the event of a conversion error.

impl TryFrom<AsterixPacket> for BitVec<Msb0, u8>[src]

type Error = DekuError

The type returned in the event of a conversion error.

impl TryFrom<AsterixPacket> for Vec<u8>[src]

type Error = DekuError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.