pub struct DoIpTpConnection(/* private fields */);
Expand description
The DoIpTpConnection
defines a DoIp
transport protocol connection
Implementations§
Source§impl DoIpTpConnection
impl DoIpTpConnection
Sourcepub fn set_source(
&self,
source: &DoIpLogicAddress,
) -> Result<(), AutosarAbstractionError>
pub fn set_source( &self, source: &DoIpLogicAddress, ) -> Result<(), AutosarAbstractionError>
set the source DoIpLogicAddress
Sourcepub fn source(&self) -> Option<DoIpLogicAddress>
pub fn source(&self) -> Option<DoIpLogicAddress>
get the source DoIpLogicAddress
Sourcepub fn set_target(
&self,
target: &DoIpLogicAddress,
) -> Result<(), AutosarAbstractionError>
pub fn set_target( &self, target: &DoIpLogicAddress, ) -> Result<(), AutosarAbstractionError>
set the target DoIpLogicAddress
Sourcepub fn target(&self) -> Option<DoIpLogicAddress>
pub fn target(&self) -> Option<DoIpLogicAddress>
get the target DoIpLogicAddress
Sourcepub fn set_tp_sdu_triggering(
&self,
tp_sdu_triggering: &PduTriggering,
) -> Result<(), AutosarAbstractionError>
pub fn set_tp_sdu_triggering( &self, tp_sdu_triggering: &PduTriggering, ) -> Result<(), AutosarAbstractionError>
set the PduTriggering
for this connection
Sourcepub fn tp_sdu_triggering(&self) -> Option<PduTriggering>
pub fn tp_sdu_triggering(&self) -> Option<PduTriggering>
get the PduTriggering
for this connection
Trait Implementations§
Source§impl Clone for DoIpTpConnection
impl Clone for DoIpTpConnection
Source§fn clone(&self) -> DoIpTpConnection
fn clone(&self) -> DoIpTpConnection
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 DoIpTpConnection
impl Debug for DoIpTpConnection
Source§impl From<DoIpTpConnection> for Element
impl From<DoIpTpConnection> for Element
Source§fn from(val: DoIpTpConnection) -> Self
fn from(val: DoIpTpConnection) -> Self
Converts to this type from the input type.
Source§impl Hash for DoIpTpConnection
impl Hash for DoIpTpConnection
Source§impl IdentifiableAbstractionElement for DoIpTpConnection
impl IdentifiableAbstractionElement for DoIpTpConnection
Source§impl PartialEq for DoIpTpConnection
impl PartialEq for DoIpTpConnection
Source§impl TryFrom<Element> for DoIpTpConnection
impl TryFrom<Element> for DoIpTpConnection
impl Eq for DoIpTpConnection
impl StructuralPartialEq for DoIpTpConnection
Auto Trait Implementations§
impl Freeze for DoIpTpConnection
impl !RefUnwindSafe for DoIpTpConnection
impl Send for DoIpTpConnection
impl Sync for DoIpTpConnection
impl Unpin for DoIpTpConnection
impl !UnwindSafe for DoIpTpConnection
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.