Trait AbstractPdu

Source
pub trait AbstractPdu: AbstractionElement + Into<Pdu> {
    // Provided methods
    fn length(&self) -> Option<u32> { ... }
    fn pdu_triggerings(&self) -> impl Iterator<Item = PduTriggering> { ... }
}
Expand description

This trait is implemented by all Pdus

Provided Methods§

Source

fn length(&self) -> Option<u32>

get the length of the PDU

Source

fn pdu_triggerings(&self) -> impl Iterator<Item = PduTriggering>

iterate over the PduTriggerings that trigger this PDU

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§