AbstractPdu

Trait AbstractPdu 

Source
pub trait AbstractPdu: AbstractionElement + Into<Pdu> {
    // Provided methods
    fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError> { ... }
    fn length(&self) -> Option<u32> { ... }
    fn pdu_triggerings(&self) -> Vec<PduTriggering> { ... }
}
Expand description

This trait is implemented by all Pdus

Provided Methods§

Source

fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>

set the length of the PDU

Source

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

get the length of the PDU

Source

fn pdu_triggerings(&self) -> Vec<PduTriggering>

list all 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§