pub struct FlexrayTpConnectionControl(/* private fields */);
Expand description
A FlexrayTpConnectionControl
defines the connection control parameters for a FlexrayTpConnection
Implementations§
Source§impl FlexrayTpConnectionControl
impl FlexrayTpConnectionControl
Sourcepub fn set_max_fc_wait(
&self,
max_fc_wait: u32,
) -> Result<(), AutosarAbstractionError>
pub fn set_max_fc_wait( &self, max_fc_wait: u32, ) -> Result<(), AutosarAbstractionError>
set the maxFcWait value
Sourcepub fn max_fc_wait(&self) -> Option<u32>
pub fn max_fc_wait(&self) -> Option<u32>
get the maxFcWait value
Sourcepub fn set_max_number_of_npdu_per_cycle(
&self,
max_number_of_npdu_per_cycle: u32,
) -> Result<(), AutosarAbstractionError>
pub fn set_max_number_of_npdu_per_cycle( &self, max_number_of_npdu_per_cycle: u32, ) -> Result<(), AutosarAbstractionError>
set the maxNumberOfNpduPerCycle value
Sourcepub fn max_number_of_npdu_per_cycle(&self) -> Option<u32>
pub fn max_number_of_npdu_per_cycle(&self) -> Option<u32>
get the maxNumberOfNpduPerCycle value
Sourcepub fn set_max_retries(
&self,
max_retries: u32,
) -> Result<(), AutosarAbstractionError>
pub fn set_max_retries( &self, max_retries: u32, ) -> Result<(), AutosarAbstractionError>
set the maxRetries value
Sourcepub fn max_retries(&self) -> Option<u32>
pub fn max_retries(&self) -> Option<u32>
get the maxRetries value
Sourcepub fn set_separation_cycle_exponent(
&self,
separation_cycle_exponent: u32,
) -> Result<(), AutosarAbstractionError>
pub fn set_separation_cycle_exponent( &self, separation_cycle_exponent: u32, ) -> Result<(), AutosarAbstractionError>
set the separationCycleExponent value
Sourcepub fn separation_cycle_exponent(&self) -> Option<u32>
pub fn separation_cycle_exponent(&self) -> Option<u32>
get the separationCycleExponent value
Trait Implementations§
Source§impl Clone for FlexrayTpConnectionControl
impl Clone for FlexrayTpConnectionControl
Source§fn clone(&self) -> FlexrayTpConnectionControl
fn clone(&self) -> FlexrayTpConnectionControl
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 FlexrayTpConnectionControl
impl Debug for FlexrayTpConnectionControl
Source§impl From<FlexrayTpConnectionControl> for Element
impl From<FlexrayTpConnectionControl> for Element
Source§fn from(val: FlexrayTpConnectionControl) -> Self
fn from(val: FlexrayTpConnectionControl) -> Self
Converts to this type from the input type.
Source§impl Hash for FlexrayTpConnectionControl
impl Hash for FlexrayTpConnectionControl
Source§impl TryFrom<Element> for FlexrayTpConnectionControl
impl TryFrom<Element> for FlexrayTpConnectionControl
impl Eq for FlexrayTpConnectionControl
impl StructuralPartialEq for FlexrayTpConnectionControl
Auto Trait Implementations§
impl Freeze for FlexrayTpConnectionControl
impl !RefUnwindSafe for FlexrayTpConnectionControl
impl Send for FlexrayTpConnectionControl
impl Sync for FlexrayTpConnectionControl
impl Unpin for FlexrayTpConnectionControl
impl !UnwindSafe for FlexrayTpConnectionControl
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.