pub struct SocketConnectionIpduIdentifierSet(/* private fields */);
Expand description
A SocketConnectionIpduIdentifierSet
contains a set of SoConIPduIdentifiers
, which are used in static socket connections and in SomeIp
events.
Implementations§
Source§impl SocketConnectionIpduIdentifierSet
impl SocketConnectionIpduIdentifierSet
Sourcepub fn create_socon_ipdu_identifier<T: AbstractPdu>(
&self,
name: &str,
pdu: &T,
channel: &EthernetPhysicalChannel,
header_id: Option<u64>,
timeout: Option<f64>,
collection_trigger: Option<PduCollectionTrigger>,
) -> Result<SoConIPduIdentifier, AutosarAbstractionError>
pub fn create_socon_ipdu_identifier<T: AbstractPdu>( &self, name: &str, pdu: &T, channel: &EthernetPhysicalChannel, header_id: Option<u64>, timeout: Option<f64>, collection_trigger: Option<PduCollectionTrigger>, ) -> Result<SoConIPduIdentifier, AutosarAbstractionError>
create a new SoConIPduIdentifier
in this set
Sourcepub fn socon_ipdu_identifiers(
&self,
) -> impl Iterator<Item = SoConIPduIdentifier> + Send + 'static
pub fn socon_ipdu_identifiers( &self, ) -> impl Iterator<Item = SoConIPduIdentifier> + Send + 'static
create an iterator over all SoConIPduIdentifiers
in this set
Trait Implementations§
Source§impl Clone for SocketConnectionIpduIdentifierSet
impl Clone for SocketConnectionIpduIdentifierSet
Source§fn clone(&self) -> SocketConnectionIpduIdentifierSet
fn clone(&self) -> SocketConnectionIpduIdentifierSet
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 From<SocketConnectionIpduIdentifierSet> for Element
impl From<SocketConnectionIpduIdentifierSet> for Element
Source§fn from(val: SocketConnectionIpduIdentifierSet) -> Self
fn from(val: SocketConnectionIpduIdentifierSet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SocketConnectionIpduIdentifierSet
impl PartialEq for SocketConnectionIpduIdentifierSet
Source§fn eq(&self, other: &SocketConnectionIpduIdentifierSet) -> bool
fn eq(&self, other: &SocketConnectionIpduIdentifierSet) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SocketConnectionIpduIdentifierSet
impl StructuralPartialEq for SocketConnectionIpduIdentifierSet
Auto Trait Implementations§
impl Freeze for SocketConnectionIpduIdentifierSet
impl !RefUnwindSafe for SocketConnectionIpduIdentifierSet
impl Send for SocketConnectionIpduIdentifierSet
impl Sync for SocketConnectionIpduIdentifierSet
impl Unpin for SocketConnectionIpduIdentifierSet
impl !UnwindSafe for SocketConnectionIpduIdentifierSet
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.