pub enum Pdu {
ISignalIPdu(ISignalIPdu),
NmPdu(NmPdu),
NPdu(NPdu),
DcmIPdu(DcmIPdu),
GeneralPurposePdu(GeneralPurposePdu),
GeneralPurposeIPdu(GeneralPurposeIPdu),
ContainerIPdu(ContainerIPdu),
SecuredIPdu(SecuredIPdu),
MultiplexedIPdu(MultiplexedIPdu),
}
Expand description
Wrapper for all Pdu types. It is used as a return value for functions that can return any Pdu type
Variants§
ISignalIPdu(ISignalIPdu)
The Pdu is an ISignalIPdu
NmPdu(NmPdu)
The Pdu is a Network Management Pdu
NPdu(NPdu)
The Pdu is a Transport Layer Pdu
DcmIPdu(DcmIPdu)
The Pdu is a Diagnostic Communication Management Pdu
GeneralPurposePdu(GeneralPurposePdu)
The Pdu is a General Purpose Pdu
GeneralPurposeIPdu(GeneralPurposeIPdu)
The Pdu is a General Purpose IPdu
ContainerIPdu(ContainerIPdu)
The Pdu is a Container IPdu
SecuredIPdu(SecuredIPdu)
The Pdu is a Secured IPdu
MultiplexedIPdu(MultiplexedIPdu)
The Pdu is a Multiplexed IPdu
Trait Implementations§
Source§impl AbstractPdu for Pdu
impl AbstractPdu for Pdu
Source§fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
set the length of the PDU
Source§fn pdu_triggerings(&self) -> Vec<PduTriggering>
fn pdu_triggerings(&self) -> Vec<PduTriggering>
list all
PduTriggerings
that trigger this PDUSource§impl AbstractionElement for Pdu
impl AbstractionElement for Pdu
Source§impl From<ContainerIPdu> for Pdu
impl From<ContainerIPdu> for Pdu
Source§fn from(value: ContainerIPdu) -> Self
fn from(value: ContainerIPdu) -> Self
Converts to this type from the input type.
Source§impl From<GeneralPurposeIPdu> for Pdu
impl From<GeneralPurposeIPdu> for Pdu
Source§fn from(value: GeneralPurposeIPdu) -> Self
fn from(value: GeneralPurposeIPdu) -> Self
Converts to this type from the input type.
Source§impl From<GeneralPurposePdu> for Pdu
impl From<GeneralPurposePdu> for Pdu
Source§fn from(value: GeneralPurposePdu) -> Self
fn from(value: GeneralPurposePdu) -> Self
Converts to this type from the input type.
Source§impl From<ISignalIPdu> for Pdu
impl From<ISignalIPdu> for Pdu
Source§fn from(value: ISignalIPdu) -> Self
fn from(value: ISignalIPdu) -> Self
Converts to this type from the input type.
Source§impl From<MultiplexedIPdu> for Pdu
impl From<MultiplexedIPdu> for Pdu
Source§fn from(value: MultiplexedIPdu) -> Self
fn from(value: MultiplexedIPdu) -> Self
Converts to this type from the input type.
Source§impl From<SecuredIPdu> for Pdu
impl From<SecuredIPdu> for Pdu
Source§fn from(value: SecuredIPdu) -> Self
fn from(value: SecuredIPdu) -> Self
Converts to this type from the input type.
Source§impl IdentifiableAbstractionElement for Pdu
impl IdentifiableAbstractionElement for Pdu
impl Eq for Pdu
impl StructuralPartialEq for Pdu
Auto Trait Implementations§
impl Freeze for Pdu
impl !RefUnwindSafe for Pdu
impl Send for Pdu
impl Sync for Pdu
impl Unpin for Pdu
impl !UnwindSafe for Pdu
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.