pub struct SomeipTpConnection(/* private fields */);
Expand description
A SomeipTpConnection
contains the configuration of a single SomeIp
TP connection
Implementations§
Source§impl SomeipTpConnection
impl SomeipTpConnection
Sourcepub fn someip_tp_config(
&self,
) -> Result<SomeipTpConfig, AutosarAbstractionError>
pub fn someip_tp_config( &self, ) -> Result<SomeipTpConfig, AutosarAbstractionError>
get the SomeipTpConfig
that contains this SomeipTpConnection
Sourcepub fn set_transport_pdu_triggering(
&self,
transport_pdu_triggering: &PduTriggering,
) -> Result<(), AutosarAbstractionError>
pub fn set_transport_pdu_triggering( &self, transport_pdu_triggering: &PduTriggering, ) -> Result<(), AutosarAbstractionError>
set the PduTriggering
for the transport PDU of this SomeipTpConnection
Sourcepub fn transport_pdu_triggering(&self) -> Option<PduTriggering>
pub fn transport_pdu_triggering(&self) -> Option<PduTriggering>
get the PduTriggering
for the transport PDU of this SomeipTpConnection
Sourcepub fn set_tp_sdu(
&self,
tp_sdu: &ISignalIPdu,
) -> Result<(), AutosarAbstractionError>
pub fn set_tp_sdu( &self, tp_sdu: &ISignalIPdu, ) -> Result<(), AutosarAbstractionError>
set the TpSdu
of this SomeipTpConnection
Sourcepub fn tp_sdu(&self) -> Option<ISignalIPdu>
pub fn tp_sdu(&self) -> Option<ISignalIPdu>
get the TpSdu
of this SomeipTpConnection
Sourcepub fn set_tp_channel(
&self,
tp_channel: Option<SomeipTpChannel>,
) -> Result<(), AutosarAbstractionError>
pub fn set_tp_channel( &self, tp_channel: Option<SomeipTpChannel>, ) -> Result<(), AutosarAbstractionError>
set the TpChannel
of this SomeipTpConnection
Sourcepub fn tp_channel(&self) -> Option<SomeipTpChannel>
pub fn tp_channel(&self) -> Option<SomeipTpChannel>
get the TpChannel
of this SomeipTpConnection
Trait Implementations§
Source§impl Clone for SomeipTpConnection
impl Clone for SomeipTpConnection
Source§fn clone(&self) -> SomeipTpConnection
fn clone(&self) -> SomeipTpConnection
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 SomeipTpConnection
impl Debug for SomeipTpConnection
Source§impl From<SomeipTpConnection> for Element
impl From<SomeipTpConnection> for Element
Source§fn from(val: SomeipTpConnection) -> Self
fn from(val: SomeipTpConnection) -> Self
Converts to this type from the input type.
Source§impl Hash for SomeipTpConnection
impl Hash for SomeipTpConnection
Source§impl PartialEq for SomeipTpConnection
impl PartialEq for SomeipTpConnection
Source§impl TryFrom<Element> for SomeipTpConnection
impl TryFrom<Element> for SomeipTpConnection
impl Eq for SomeipTpConnection
impl StructuralPartialEq for SomeipTpConnection
Auto Trait Implementations§
impl Freeze for SomeipTpConnection
impl !RefUnwindSafe for SomeipTpConnection
impl Send for SomeipTpConnection
impl Sync for SomeipTpConnection
impl Unpin for SomeipTpConnection
impl !UnwindSafe for SomeipTpConnection
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.