pub struct PduTriggering(/* private fields */);
Expand description
a PduTriggering
triggers a PDU in a frame or ethernet connection
Implementations§
Source§impl PduTriggering
impl PduTriggering
Sourcepub fn physical_channel(
&self,
) -> Result<PhysicalChannel, AutosarAbstractionError>
pub fn physical_channel( &self, ) -> Result<PhysicalChannel, AutosarAbstractionError>
get the physical channel that contains this pdu triggering
Sourcepub fn create_pdu_port(
&self,
ecu: &EcuInstance,
direction: CommunicationDirection,
) -> Result<IPduPort, AutosarAbstractionError>
pub fn create_pdu_port( &self, ecu: &EcuInstance, direction: CommunicationDirection, ) -> Result<IPduPort, AutosarAbstractionError>
create an IPduPort
to connect a PduTriggering
to an EcuInstance
Sourcepub fn pdu_ports(&self) -> impl Iterator<Item = IPduPort> + Send + 'static
pub fn pdu_ports(&self) -> impl Iterator<Item = IPduPort> + Send + 'static
create an iterator over the IPduPorts
that are connected to this PduTriggering
Sourcepub fn signal_triggerings(
&self,
) -> impl Iterator<Item = ISignalTriggering> + Send + 'static
pub fn signal_triggerings( &self, ) -> impl Iterator<Item = ISignalTriggering> + Send + 'static
create an iterator over the ISignalTriggerings
that are triggered by this PduTriggering
Trait Implementations§
Source§impl AbstractionElement for PduTriggering
impl AbstractionElement for PduTriggering
Source§impl Clone for PduTriggering
impl Clone for PduTriggering
Source§fn clone(&self) -> PduTriggering
fn clone(&self) -> PduTriggering
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 PduTriggering
impl Debug for PduTriggering
Source§impl From<PduTriggering> for Element
impl From<PduTriggering> for Element
Source§fn from(val: PduTriggering) -> Self
fn from(val: PduTriggering) -> Self
Converts to this type from the input type.
Source§impl Hash for PduTriggering
impl Hash for PduTriggering
Source§impl PartialEq for PduTriggering
impl PartialEq for PduTriggering
Source§impl TryFrom<Element> for PduTriggering
impl TryFrom<Element> for PduTriggering
impl Eq for PduTriggering
impl StructuralPartialEq for PduTriggering
Auto Trait Implementations§
impl Freeze for PduTriggering
impl !RefUnwindSafe for PduTriggering
impl Send for PduTriggering
impl Sync for PduTriggering
impl Unpin for PduTriggering
impl !UnwindSafe for PduTriggering
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.