pub struct DataReceivedEvent(/* private fields */);
Expand description
raised when data is received
Implementations§
Source§impl DataReceivedEvent
impl DataReceivedEvent
Sourcepub fn set_variable_data_prototype<T: Into<PortPrototype> + Clone>(
&self,
variable_data_prototype: &VariableDataPrototype,
context_port: &T,
) -> Result<(), AutosarAbstractionError>
pub fn set_variable_data_prototype<T: Into<PortPrototype> + Clone>( &self, variable_data_prototype: &VariableDataPrototype, context_port: &T, ) -> Result<(), AutosarAbstractionError>
Set the VariableDataPrototype
that triggers the DataReceivedEvent
Sourcepub fn variable_data_prototype(
&self,
) -> Option<(VariableDataPrototype, PortPrototype)>
pub fn variable_data_prototype( &self, ) -> Option<(VariableDataPrototype, PortPrototype)>
Get the VariableDataPrototype
that triggers the DataReceivedEvent
Trait Implementations§
Source§impl AbstractRTEEvent for DataReceivedEvent
impl AbstractRTEEvent for DataReceivedEvent
Source§fn set_runnable_entity(
&self,
runnable_entity: &RunnableEntity,
) -> Result<(), AutosarAbstractionError>
fn set_runnable_entity( &self, runnable_entity: &RunnableEntity, ) -> Result<(), AutosarAbstractionError>
Set the
RunnableEntity
that is triggered by the TimingEvent
Source§fn runnable_entity(&self) -> Option<RunnableEntity>
fn runnable_entity(&self) -> Option<RunnableEntity>
Get the
RunnableEntity
that is triggered by the TimingEvent
Source§fn swc_internal_behavior(&self) -> Option<SwcInternalBehavior>
fn swc_internal_behavior(&self) -> Option<SwcInternalBehavior>
Get the
SwcInternalBehavior
that contains the eventSource§impl Clone for DataReceivedEvent
impl Clone for DataReceivedEvent
Source§fn clone(&self) -> DataReceivedEvent
fn clone(&self) -> DataReceivedEvent
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 DataReceivedEvent
impl Debug for DataReceivedEvent
Source§impl From<DataReceivedEvent> for Element
impl From<DataReceivedEvent> for Element
Source§fn from(val: DataReceivedEvent) -> Self
fn from(val: DataReceivedEvent) -> Self
Converts to this type from the input type.
Source§impl Hash for DataReceivedEvent
impl Hash for DataReceivedEvent
Source§impl PartialEq for DataReceivedEvent
impl PartialEq for DataReceivedEvent
Source§impl TryFrom<Element> for DataReceivedEvent
impl TryFrom<Element> for DataReceivedEvent
impl Eq for DataReceivedEvent
impl StructuralPartialEq for DataReceivedEvent
Auto Trait Implementations§
impl Freeze for DataReceivedEvent
impl !RefUnwindSafe for DataReceivedEvent
impl Send for DataReceivedEvent
impl Sync for DataReceivedEvent
impl Unpin for DataReceivedEvent
impl !UnwindSafe for DataReceivedEvent
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.