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§
Sourcefn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
set the length of the PDU
Sourcefn pdu_triggerings(&self) -> Vec<PduTriggering>
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.