pub struct UserDefinedPdu(/* private fields */);Expand description
This element is used for user defined AUTOSAR Pdus
This PDU type is occasionally used for time-sync messages
Implementations§
Trait Implementations§
Source§impl AbstractPdu for UserDefinedPdu
impl AbstractPdu for UserDefinedPdu
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 UserDefinedPdu
impl AbstractionElement for UserDefinedPdu
Source§impl Clone for UserDefinedPdu
impl Clone for UserDefinedPdu
Source§fn clone(&self) -> UserDefinedPdu
fn clone(&self) -> UserDefinedPdu
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserDefinedPdu
impl Debug for UserDefinedPdu
Source§impl From<UserDefinedPdu> for Element
impl From<UserDefinedPdu> for Element
Source§fn from(val: UserDefinedPdu) -> Self
fn from(val: UserDefinedPdu) -> Self
Converts to this type from the input type.
Source§impl From<UserDefinedPdu> for Pdu
impl From<UserDefinedPdu> for Pdu
Source§fn from(value: UserDefinedPdu) -> Self
fn from(value: UserDefinedPdu) -> Self
Converts to this type from the input type.
Source§impl Hash for UserDefinedPdu
impl Hash for UserDefinedPdu
Source§impl PartialEq for UserDefinedPdu
impl PartialEq for UserDefinedPdu
Source§impl TryFrom<Element> for UserDefinedPdu
impl TryFrom<Element> for UserDefinedPdu
impl Eq for UserDefinedPdu
impl StructuralPartialEq for UserDefinedPdu
Auto Trait Implementations§
impl Freeze for UserDefinedPdu
impl !RefUnwindSafe for UserDefinedPdu
impl Send for UserDefinedPdu
impl Sync for UserDefinedPdu
impl Unpin for UserDefinedPdu
impl !UnwindSafe for UserDefinedPdu
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.