pub struct EventHandler(/* private fields */);Expand description
An EventHandler describes the handling of a single event in a ProvidedServiceInstance
Implementations§
Source§impl EventHandler
 
impl EventHandler
Sourcepub fn event_group_identifier(&self) -> Option<u32>
 
pub fn event_group_identifier(&self) -> Option<u32>
get the event group identifier of this EventHandler
Sourcepub fn create_pdu_activation_routing_group(
    &self,
    name: &str,
    event_group_control_type: EventGroupControlType,
) -> Result<PduActivationRoutingGroup, AutosarAbstractionError>
 
pub fn create_pdu_activation_routing_group( &self, name: &str, event_group_control_type: EventGroupControlType, ) -> Result<PduActivationRoutingGroup, AutosarAbstractionError>
create a new PduActivationRoutingGroup in this EventHandler
Sourcepub fn pdu_activation_routing_groups(
    &self,
) -> impl Iterator<Item = PduActivationRoutingGroup>
 
pub fn pdu_activation_routing_groups( &self, ) -> impl Iterator<Item = PduActivationRoutingGroup>
get the PduActivationRoutingGroups in this EventHandler
Sourcepub fn set_sd_server_event_group_timing_config(
    &self,
    config: &SomeipSdServerEventGroupTimingConfig,
) -> Result<(), AutosarAbstractionError>
 
pub fn set_sd_server_event_group_timing_config( &self, config: &SomeipSdServerEventGroupTimingConfig, ) -> Result<(), AutosarAbstractionError>
set the SD server event group timing configuration for this EventHandler
Sourcepub fn sd_server_event_group_timing_config(
    &self,
) -> Option<SomeipSdServerEventGroupTimingConfig>
 
pub fn sd_server_event_group_timing_config( &self, ) -> Option<SomeipSdServerEventGroupTimingConfig>
get the SD server event group timing configuration for this EventHandler
Trait Implementations§
Source§impl AbstractionElement for EventHandler
 
impl AbstractionElement for EventHandler
Source§impl Clone for EventHandler
 
impl Clone for EventHandler
Source§fn clone(&self) -> EventHandler
 
fn clone(&self) -> EventHandler
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 EventHandler
 
impl Debug for EventHandler
Source§impl Hash for EventHandler
 
impl Hash for EventHandler
Source§impl PartialEq for EventHandler
 
impl PartialEq for EventHandler
Source§impl TryFrom<Element> for EventHandler
 
impl TryFrom<Element> for EventHandler
impl Eq for EventHandler
impl StructuralPartialEq for EventHandler
Auto Trait Implementations§
impl Freeze for EventHandler
impl !RefUnwindSafe for EventHandler
impl Send for EventHandler
impl Sync for EventHandler
impl Unpin for EventHandler
impl !UnwindSafe for EventHandler
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.