pub struct ConsumedEventGroupV1(/* private fields */);
Expand description
A ConsumedEventGroupV1
is a SD event group of a service instance that is consumed by this ECU.
This is the old V1 version of the service definition.
Implementations§
Source§impl ConsumedEventGroupV1
impl ConsumedEventGroupV1
Sourcepub fn event_handlers(&self) -> Vec<EventHandlerV1>
pub fn event_handlers(&self) -> Vec<EventHandlerV1>
iterate over any EventHandlerV1
s that reference this ConsumedEventGroupV1
Sourcepub fn set_application_endpoint(
&self,
socket_address: &SocketAddress,
) -> Result<(), AutosarAbstractionError>
pub fn set_application_endpoint( &self, socket_address: &SocketAddress, ) -> Result<(), AutosarAbstractionError>
set the SocketAddress
that receives events from this ConsumedEventGroup
This may be a different SocketAddress
than the one that is used to send requests.
Sourcepub fn application_endpoint(&self) -> Option<SocketAddress>
pub fn application_endpoint(&self) -> Option<SocketAddress>
get the Socket that receives events from this ConsumedEventGroup
This may be a different Socket than the one that is used to send requests.
Sourcepub fn set_event_group_identifier(
&self,
event_group_identifier: u32,
) -> Result<(), AutosarAbstractionError>
pub fn set_event_group_identifier( &self, event_group_identifier: u32, ) -> Result<(), AutosarAbstractionError>
set the event group identifier of this ConsumedEventGroup
Sourcepub fn event_group_identifier(&self) -> Option<u32>
pub fn event_group_identifier(&self) -> Option<u32>
get the event group identifier of this ConsumedEventGroup
Sourcepub fn add_routing_group(
&self,
routing_group: &SoAdRoutingGroup,
) -> Result<(), AutosarAbstractionError>
pub fn add_routing_group( &self, routing_group: &SoAdRoutingGroup, ) -> Result<(), AutosarAbstractionError>
add a reference to a SoAdRoutingGroup
to this ConsumedEventGroup
Sourcepub fn routing_groups(
&self,
) -> impl Iterator<Item = SoAdRoutingGroup> + Send + 'static
pub fn routing_groups( &self, ) -> impl Iterator<Item = SoAdRoutingGroup> + Send + 'static
get the routing groups referenced by this ConsumedEventGroup
Sourcepub fn set_sd_client_config(
&self,
sd_client_config: &SdEventConfig,
) -> Result<(), AutosarAbstractionError>
pub fn set_sd_client_config( &self, sd_client_config: &SdEventConfig, ) -> Result<(), AutosarAbstractionError>
set the SD client event configuration for this ConsumedEventGroup
Sourcepub fn sd_client_config(&self) -> Option<SdEventConfig>
pub fn sd_client_config(&self) -> Option<SdEventConfig>
get the SD client configuration for this ConsumedEventGroup
Trait Implementations§
Source§impl Clone for ConsumedEventGroupV1
impl Clone for ConsumedEventGroupV1
Source§fn clone(&self) -> ConsumedEventGroupV1
fn clone(&self) -> ConsumedEventGroupV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ConsumedEventGroupV1
impl Debug for ConsumedEventGroupV1
Source§impl Hash for ConsumedEventGroupV1
impl Hash for ConsumedEventGroupV1
Source§impl PartialEq for ConsumedEventGroupV1
impl PartialEq for ConsumedEventGroupV1
Source§impl TryFrom<Element> for ConsumedEventGroupV1
impl TryFrom<Element> for ConsumedEventGroupV1
impl Eq for ConsumedEventGroupV1
impl StructuralPartialEq for ConsumedEventGroupV1
Auto Trait Implementations§
impl Freeze for ConsumedEventGroupV1
impl !RefUnwindSafe for ConsumedEventGroupV1
impl Send for ConsumedEventGroupV1
impl Sync for ConsumedEventGroupV1
impl Unpin for ConsumedEventGroupV1
impl !UnwindSafe for ConsumedEventGroupV1
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
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
key
and return true
if they are equal.