pub struct ISignalIPdu(/* private fields */);
Expand description
Represents the IPdus
handled by Com
Implementations§
Source§impl ISignalIPdu
impl ISignalIPdu
Sourcepub fn mapped_signals(
&self,
) -> impl Iterator<Item = ISignalToIPduMapping> + Send + 'static
pub fn mapped_signals( &self, ) -> impl Iterator<Item = ISignalToIPduMapping> + Send + 'static
returns an iterator over all signals and signal groups mapped to the PDU
Sourcepub fn map_signal(
&self,
signal: &ISignal,
start_position: u32,
byte_order: ByteOrder,
update_bit: Option<u32>,
transfer_property: TransferProperty,
) -> Result<ISignalToIPduMapping, AutosarAbstractionError>
pub fn map_signal( &self, signal: &ISignal, start_position: u32, byte_order: ByteOrder, update_bit: Option<u32>, transfer_property: TransferProperty, ) -> Result<ISignalToIPduMapping, AutosarAbstractionError>
map a signal to the ISignalIPdu
If this signal is part of a signal group, then the group must be mapped first
Sourcepub fn map_signal_group(
&self,
signal_group: &ISignalGroup,
) -> Result<ISignalToIPduMapping, AutosarAbstractionError>
pub fn map_signal_group( &self, signal_group: &ISignalGroup, ) -> Result<ISignalToIPduMapping, AutosarAbstractionError>
map a signal group to the PDU
Sourcepub fn set_timing(
&self,
timing_spec: &IpduTiming,
) -> Result<(), AutosarAbstractionError>
pub fn set_timing( &self, timing_spec: &IpduTiming, ) -> Result<(), AutosarAbstractionError>
set the transmission timing of the PDU
Sourcepub fn timing(&self) -> Option<IpduTiming>
pub fn timing(&self) -> Option<IpduTiming>
get the transmission timing of the PDU
Trait Implementations§
Source§impl AbstractIpdu for ISignalIPdu
impl AbstractIpdu for ISignalIPdu
Source§fn set_contained_ipdu_props(
&self,
props: Option<&ContainedIPduProps>,
) -> Result<(), AutosarAbstractionError>
fn set_contained_ipdu_props( &self, props: Option<&ContainedIPduProps>, ) -> Result<(), AutosarAbstractionError>
Source§fn contained_ipdu_props(&self) -> Option<ContainedIPduProps>
fn contained_ipdu_props(&self) -> Option<ContainedIPduProps>
get the
ContainedIPduProps
for this IPdu
Source§impl AbstractPdu for ISignalIPdu
impl AbstractPdu for ISignalIPdu
Source§fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
set the length of the PDU
Source§fn pdu_triggerings(&self) -> Vec<PduTriggering>
fn pdu_triggerings(&self) -> Vec<PduTriggering>
list all
PduTriggerings
that trigger this PDUSource§impl AbstractionElement for ISignalIPdu
impl AbstractionElement for ISignalIPdu
Source§impl Clone for ISignalIPdu
impl Clone for ISignalIPdu
Source§fn clone(&self) -> ISignalIPdu
fn clone(&self) -> ISignalIPdu
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 ISignalIPdu
impl Debug for ISignalIPdu
Source§impl From<ISignalIPdu> for Element
impl From<ISignalIPdu> for Element
Source§fn from(val: ISignalIPdu) -> Self
fn from(val: ISignalIPdu) -> Self
Converts to this type from the input type.
Source§impl From<ISignalIPdu> for IPdu
impl From<ISignalIPdu> for IPdu
Source§fn from(value: ISignalIPdu) -> Self
fn from(value: ISignalIPdu) -> Self
Converts to this type from the input type.
Source§impl From<ISignalIPdu> for Pdu
impl From<ISignalIPdu> for Pdu
Source§fn from(value: ISignalIPdu) -> Self
fn from(value: ISignalIPdu) -> Self
Converts to this type from the input type.
Source§impl Hash for ISignalIPdu
impl Hash for ISignalIPdu
Source§impl PartialEq for ISignalIPdu
impl PartialEq for ISignalIPdu
Source§impl TryFrom<Element> for ISignalIPdu
impl TryFrom<Element> for ISignalIPdu
impl Eq for ISignalIPdu
impl StructuralPartialEq for ISignalIPdu
Auto Trait Implementations§
impl Freeze for ISignalIPdu
impl !RefUnwindSafe for ISignalIPdu
impl Send for ISignalIPdu
impl Sync for ISignalIPdu
impl Unpin for ISignalIPdu
impl !UnwindSafe for ISignalIPdu
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.