pub struct NPdu(/* private fields */);
Expand description
This is a Pdu of the transport layer. The main purpose of the TP layer is to segment and reassemble IPdus
.
Trait Implementations§
Source§impl AbstractIpdu for NPdu
impl AbstractIpdu for NPdu
Source§fn set_contained_ipdu_props(
&self,
props: Option<&ContainedIPduProps>,
) -> Result<(), AutosarAbstractionError>
fn set_contained_ipdu_props( &self, props: Option<&ContainedIPduProps>, ) -> Result<(), AutosarAbstractionError>
Source§fn contained_ipdu_props(&self) -> Option<ContainedIPduProps>
fn contained_ipdu_props(&self) -> Option<ContainedIPduProps>
get the
ContainedIPduProps
for this IPdu
Source§impl AbstractPdu for NPdu
impl AbstractPdu for NPdu
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 NPdu
impl AbstractionElement for NPdu
impl Eq for NPdu
impl StructuralPartialEq for NPdu
Auto Trait Implementations§
impl Freeze for NPdu
impl !RefUnwindSafe for NPdu
impl Send for NPdu
impl Sync for NPdu
impl Unpin for NPdu
impl !UnwindSafe for NPdu
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.