pub struct ISignalIPduGroup(/* private fields */);Expand description
A group of ISignalIPdus that is handled together
Implementations§
Source§impl ISignalIPduGroup
impl ISignalIPduGroup
Sourcepub fn set_communication_direction(
&self,
communication_direction: CommunicationDirection,
) -> Result<(), AutosarAbstractionError>
pub fn set_communication_direction( &self, communication_direction: CommunicationDirection, ) -> Result<(), AutosarAbstractionError>
set the communication direction of the PDU group
Sourcepub fn communication_direction(&self) -> Option<CommunicationDirection>
pub fn communication_direction(&self) -> Option<CommunicationDirection>
get the communication direction of the PDU group
Sourcepub fn add_pdu(&self, pdu: &ISignalIPdu) -> Result<(), AutosarAbstractionError>
pub fn add_pdu(&self, pdu: &ISignalIPdu) -> Result<(), AutosarAbstractionError>
add a PDU to the PDU group
Sourcepub fn pdus(&self) -> impl Iterator<Item = ISignalIPdu> + Send + use<>
pub fn pdus(&self) -> impl Iterator<Item = ISignalIPdu> + Send + use<>
get an iterator over all PDUs in the PDU group
Trait Implementations§
Source§impl Clone for ISignalIPduGroup
impl Clone for ISignalIPduGroup
Source§fn clone(&self) -> ISignalIPduGroup
fn clone(&self) -> ISignalIPduGroup
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 ISignalIPduGroup
impl Debug for ISignalIPduGroup
Source§impl From<ISignalIPduGroup> for Element
impl From<ISignalIPduGroup> for Element
Source§fn from(val: ISignalIPduGroup) -> Self
fn from(val: ISignalIPduGroup) -> Self
Converts to this type from the input type.
Source§impl Hash for ISignalIPduGroup
impl Hash for ISignalIPduGroup
Source§impl PartialEq for ISignalIPduGroup
impl PartialEq for ISignalIPduGroup
Source§impl TryFrom<Element> for ISignalIPduGroup
impl TryFrom<Element> for ISignalIPduGroup
impl Eq for ISignalIPduGroup
impl StructuralPartialEq for ISignalIPduGroup
Auto Trait Implementations§
impl Freeze for ISignalIPduGroup
impl !RefUnwindSafe for ISignalIPduGroup
impl Send for ISignalIPduGroup
impl Sync for ISignalIPduGroup
impl Unpin for ISignalIPduGroup
impl !UnwindSafe for ISignalIPduGroup
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.