pub struct EventHandlerV1(/* private fields */);
Expand description
An EventHandlerV1
is a SD event handler that is used to receive events from other ECUs.
This is the old V1 version of the service definition.
Implementations§
Source§impl EventHandlerV1
impl EventHandlerV1
Sourcepub fn add_consumed_event_group(
&self,
consumed_event_group: &ConsumedEventGroupV1,
) -> Result<(), AutosarAbstractionError>
pub fn add_consumed_event_group( &self, consumed_event_group: &ConsumedEventGroupV1, ) -> Result<(), AutosarAbstractionError>
add a reference to a ConsumedEventGroupV1
to this EventHandlerV1
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 EventHandler
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 EventHandler
Sourcepub fn set_sd_server_config(
&self,
server_config: &SdEventConfig,
) -> Result<(), AutosarAbstractionError>
pub fn set_sd_server_config( &self, server_config: &SdEventConfig, ) -> Result<(), AutosarAbstractionError>
set the SD server event configuration for this EventHandler
Sourcepub fn sd_server_config(&self) -> Option<SdEventConfig>
pub fn sd_server_config(&self) -> Option<SdEventConfig>
get the SD server configuration for this EventHandler
Sourcepub fn consumed_event_groups(
&self,
) -> impl Iterator<Item = ConsumedEventGroupV1> + Send + 'static
pub fn consumed_event_groups( &self, ) -> impl Iterator<Item = ConsumedEventGroupV1> + Send + 'static
get the consumed event groups referenced by this EventHandler
Trait Implementations§
Source§impl AbstractionElement for EventHandlerV1
impl AbstractionElement for EventHandlerV1
Source§impl Clone for EventHandlerV1
impl Clone for EventHandlerV1
Source§fn clone(&self) -> EventHandlerV1
fn clone(&self) -> EventHandlerV1
Returns a copy 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 EventHandlerV1
impl Debug for EventHandlerV1
Source§impl Hash for EventHandlerV1
impl Hash for EventHandlerV1
Source§impl PartialEq for EventHandlerV1
impl PartialEq for EventHandlerV1
Source§impl TryFrom<Element> for EventHandlerV1
impl TryFrom<Element> for EventHandlerV1
impl Eq for EventHandlerV1
impl StructuralPartialEq for EventHandlerV1
Auto Trait Implementations§
impl Freeze for EventHandlerV1
impl !RefUnwindSafe for EventHandlerV1
impl Send for EventHandlerV1
impl Sync for EventHandlerV1
impl Unpin for EventHandlerV1
impl !UnwindSafe for EventHandlerV1
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.