pub struct PduActivationRoutingGroup(/* private fields */);
Expand description
A group of Pdus that can be activated or deactivated for transmission over a socket connection.
It is used by EventHandler
s in ProvidedServiceInstance
s and ConsumedServiceInstance
s.
Implementations§
Source§impl PduActivationRoutingGroup
impl PduActivationRoutingGroup
Sourcepub fn set_event_group_control_type(
&self,
event_group_control_type: EventGroupControlType,
) -> Result<(), AutosarAbstractionError>
pub fn set_event_group_control_type( &self, event_group_control_type: EventGroupControlType, ) -> Result<(), AutosarAbstractionError>
set the event group control type of this PduActivationRoutingGroup
Sourcepub fn event_group_control_type(&self) -> Option<EventGroupControlType>
pub fn event_group_control_type(&self) -> Option<EventGroupControlType>
get the event group control type of this PduActivationRoutingGroup
Sourcepub fn add_ipdu_identifier_udp(
&self,
ipdu_identifier: &SoConIPduIdentifier,
) -> Result<(), AutosarAbstractionError>
pub fn add_ipdu_identifier_udp( &self, ipdu_identifier: &SoConIPduIdentifier, ) -> Result<(), AutosarAbstractionError>
add a reference to a SoConIPduIdentifier
for UDP communication to this PduActivationRoutingGroup
Sourcepub fn ipdu_identifiers_udp(
&self,
) -> impl Iterator<Item = SoConIPduIdentifier> + Send + 'static
pub fn ipdu_identifiers_udp( &self, ) -> impl Iterator<Item = SoConIPduIdentifier> + Send + 'static
get all SoConIPduIdentifier
s for UDP communication in this PduActivationRoutingGroup
Sourcepub fn add_ipdu_identifier_tcp(
&self,
ipdu_identifier: &SoConIPduIdentifier,
) -> Result<(), AutosarAbstractionError>
pub fn add_ipdu_identifier_tcp( &self, ipdu_identifier: &SoConIPduIdentifier, ) -> Result<(), AutosarAbstractionError>
add a reference to a SoConIPduIdentifier
for TCP communication to this PduActivationRoutingGroup
Sourcepub fn ipdu_identifiers_tcp(
&self,
) -> impl Iterator<Item = SoConIPduIdentifier> + Send + 'static
pub fn ipdu_identifiers_tcp( &self, ) -> impl Iterator<Item = SoConIPduIdentifier> + Send + 'static
get all SoConIPduIdentifier
s for TCP communication in this PduActivationRoutingGroup
Trait Implementations§
Source§impl Clone for PduActivationRoutingGroup
impl Clone for PduActivationRoutingGroup
Source§fn clone(&self) -> PduActivationRoutingGroup
fn clone(&self) -> PduActivationRoutingGroup
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 PduActivationRoutingGroup
impl Debug for PduActivationRoutingGroup
Source§impl From<PduActivationRoutingGroup> for Element
impl From<PduActivationRoutingGroup> for Element
Source§fn from(val: PduActivationRoutingGroup) -> Self
fn from(val: PduActivationRoutingGroup) -> Self
Converts to this type from the input type.
Source§impl Hash for PduActivationRoutingGroup
impl Hash for PduActivationRoutingGroup
Source§impl TryFrom<Element> for PduActivationRoutingGroup
impl TryFrom<Element> for PduActivationRoutingGroup
impl Eq for PduActivationRoutingGroup
impl StructuralPartialEq for PduActivationRoutingGroup
Auto Trait Implementations§
impl Freeze for PduActivationRoutingGroup
impl !RefUnwindSafe for PduActivationRoutingGroup
impl Send for PduActivationRoutingGroup
impl Sync for PduActivationRoutingGroup
impl Unpin for PduActivationRoutingGroup
impl !UnwindSafe for PduActivationRoutingGroup
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.