pub struct CanNmClusterCoupling(/* private fields */);
Expand description
A CanNmClusterCoupling
couples multiple CanNmCluster
s, and contains CAN specific settings.
Implementations§
Source§impl CanNmClusterCoupling
impl CanNmClusterCoupling
Sourcepub fn set_nm_busload_reduction_enabled(
&self,
nm_busload_reduction_enabled: bool,
) -> Result<(), AutosarAbstractionError>
pub fn set_nm_busload_reduction_enabled( &self, nm_busload_reduction_enabled: bool, ) -> Result<(), AutosarAbstractionError>
set the nmBusloadReductionEnabled flag
Sourcepub fn nm_busload_reduction_enabled(&self) -> Option<bool>
pub fn nm_busload_reduction_enabled(&self) -> Option<bool>
get the nmBusloadReductionEnabled flag
Sourcepub fn set_nm_immediate_restart_enabled(
&self,
nm_immediate_restart_enabled: bool,
) -> Result<(), AutosarAbstractionError>
pub fn set_nm_immediate_restart_enabled( &self, nm_immediate_restart_enabled: bool, ) -> Result<(), AutosarAbstractionError>
set the nmImmediateRestartEnabled flag
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 CanNmClusterCoupling
impl AbstractNmClusterCoupling for CanNmClusterCoupling
Source§type NmClusterType = CanNmCluster
type NmClusterType = CanNmCluster
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 CanNmClusterCoupling
impl Clone for CanNmClusterCoupling
Source§fn clone(&self) -> CanNmClusterCoupling
fn clone(&self) -> CanNmClusterCoupling
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 CanNmClusterCoupling
impl Debug for CanNmClusterCoupling
Source§impl From<CanNmClusterCoupling> for Element
impl From<CanNmClusterCoupling> for Element
Source§fn from(val: CanNmClusterCoupling) -> Self
fn from(val: CanNmClusterCoupling) -> Self
Converts to this type from the input type.
Source§impl Hash for CanNmClusterCoupling
impl Hash for CanNmClusterCoupling
Source§impl PartialEq for CanNmClusterCoupling
impl PartialEq for CanNmClusterCoupling
Source§impl TryFrom<Element> for CanNmClusterCoupling
impl TryFrom<Element> for CanNmClusterCoupling
impl Eq for CanNmClusterCoupling
impl StructuralPartialEq for CanNmClusterCoupling
Auto Trait Implementations§
impl Freeze for CanNmClusterCoupling
impl !RefUnwindSafe for CanNmClusterCoupling
impl Send for CanNmClusterCoupling
impl Sync for CanNmClusterCoupling
impl Unpin for CanNmClusterCoupling
impl !UnwindSafe for CanNmClusterCoupling
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.