pub struct SomeipTpConfig(/* private fields */);Expand description
A SomipTpConfig contains the configuration of individual SomeIp TP connections
Implementations§
Source§impl SomeipTpConfig
impl SomeipTpConfig
Sourcepub fn create_someip_tp_channel(
&self,
name: &str,
) -> Result<SomeipTpChannel, AutosarAbstractionError>
pub fn create_someip_tp_channel( &self, name: &str, ) -> Result<SomeipTpChannel, AutosarAbstractionError>
create a new SomeipTpChannel in this SomeipTpConfig
version >= AUTOSAR_00046
Sourcepub fn someip_tp_channels(
&self,
) -> impl Iterator<Item = SomeipTpChannel> + Send + use<>
pub fn someip_tp_channels( &self, ) -> impl Iterator<Item = SomeipTpChannel> + Send + use<>
iterate over all SomeipTpChannels in this SomeipTpConfig
Sourcepub fn create_someip_tp_connection(
&self,
tp_sdu: &ISignalIPdu,
transport_pdu_triggering: &PduTriggering,
tp_channel: Option<SomeipTpChannel>,
) -> Result<SomeipTpConnection, AutosarAbstractionError>
pub fn create_someip_tp_connection( &self, tp_sdu: &ISignalIPdu, transport_pdu_triggering: &PduTriggering, tp_channel: Option<SomeipTpChannel>, ) -> Result<SomeipTpConnection, AutosarAbstractionError>
create a new SomeIp TP connection in this SomeipTpConfig
returns the PduTriggering that is created for the TpSdu
Sourcepub fn someip_tp_connections(
&self,
) -> impl Iterator<Item = SomeipTpConnection> + Send + use<>
pub fn someip_tp_connections( &self, ) -> impl Iterator<Item = SomeipTpConnection> + Send + use<>
get all SomeipTpConnections in this SomeipTpConfig
Trait Implementations§
Source§impl AbstractionElement for SomeipTpConfig
impl AbstractionElement for SomeipTpConfig
Source§impl Clone for SomeipTpConfig
impl Clone for SomeipTpConfig
Source§fn clone(&self) -> SomeipTpConfig
fn clone(&self) -> SomeipTpConfig
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 SomeipTpConfig
impl Debug for SomeipTpConfig
Source§impl From<SomeipTpConfig> for Element
impl From<SomeipTpConfig> for Element
Source§fn from(val: SomeipTpConfig) -> Self
fn from(val: SomeipTpConfig) -> Self
Converts to this type from the input type.
Source§impl Hash for SomeipTpConfig
impl Hash for SomeipTpConfig
Source§impl PartialEq for SomeipTpConfig
impl PartialEq for SomeipTpConfig
Source§impl TryFrom<Element> for SomeipTpConfig
impl TryFrom<Element> for SomeipTpConfig
impl Eq for SomeipTpConfig
impl StructuralPartialEq for SomeipTpConfig
Auto Trait Implementations§
impl Freeze for SomeipTpConfig
impl !RefUnwindSafe for SomeipTpConfig
impl Send for SomeipTpConfig
impl Sync for SomeipTpConfig
impl Unpin for SomeipTpConfig
impl !UnwindSafe for SomeipTpConfig
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.