pub struct UdpNmClusterCoupling(/* private fields */);
Expand description
Udp / Ethernet specific NmClusterCoupling
It couples multiple UdpNmCluster
s and provides UdpNm-specific settings
Implementations§
Source§impl UdpNmClusterCoupling
impl UdpNmClusterCoupling
Sourcepub fn set_nm_immediate_restart_enabled(
&self,
enabled: Option<bool>,
) -> Result<(), AutosarAbstractionError>
pub fn set_nm_immediate_restart_enabled( &self, enabled: Option<bool>, ) -> Result<(), AutosarAbstractionError>
set or remove the nmImmediateRestartEnabled flag
If enabled
is Some
, the flag is set to the value of enabled
.
If enabled
is None
, the flag is removed.
Sourcepub fn nm_immediate_restart_enabled(&self) -> Option<bool>
pub fn nm_immediate_restart_enabled(&self) -> Option<bool>
get the nmImmediateRestartEnabled flag
Trait Implementations§
Source§impl AbstractNmClusterCoupling for UdpNmClusterCoupling
impl AbstractNmClusterCoupling for UdpNmClusterCoupling
Source§type NmClusterType = UdpNmCluster
type NmClusterType = UdpNmCluster
type of the coupled
NmCluster
sSource§fn add_coupled_cluster(
&self,
cluster: &Self::NmClusterType,
) -> Result<(), AutosarAbstractionError>
fn add_coupled_cluster( &self, cluster: &Self::NmClusterType, ) -> Result<(), AutosarAbstractionError>
add a reference to a coupled
NmCluster
Source§fn coupled_clusters(
&self,
) -> impl Iterator<Item = Self::NmClusterType> + Send + 'static
fn coupled_clusters( &self, ) -> impl Iterator<Item = Self::NmClusterType> + Send + 'static
iterate over all coupled
NmClusters
Source§impl Clone for UdpNmClusterCoupling
impl Clone for UdpNmClusterCoupling
Source§fn clone(&self) -> UdpNmClusterCoupling
fn clone(&self) -> UdpNmClusterCoupling
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 UdpNmClusterCoupling
impl Debug for UdpNmClusterCoupling
Source§impl From<UdpNmClusterCoupling> for Element
impl From<UdpNmClusterCoupling> for Element
Source§fn from(val: UdpNmClusterCoupling) -> Self
fn from(val: UdpNmClusterCoupling) -> Self
Converts to this type from the input type.
Source§impl Hash for UdpNmClusterCoupling
impl Hash for UdpNmClusterCoupling
Source§impl PartialEq for UdpNmClusterCoupling
impl PartialEq for UdpNmClusterCoupling
Source§impl TryFrom<Element> for UdpNmClusterCoupling
impl TryFrom<Element> for UdpNmClusterCoupling
impl Eq for UdpNmClusterCoupling
impl StructuralPartialEq for UdpNmClusterCoupling
Auto Trait Implementations§
impl Freeze for UdpNmClusterCoupling
impl !RefUnwindSafe for UdpNmClusterCoupling
impl Send for UdpNmClusterCoupling
impl Sync for UdpNmClusterCoupling
impl Unpin for UdpNmClusterCoupling
impl !UnwindSafe for UdpNmClusterCoupling
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.