pub struct DynamicPartAlternative(/* private fields */);Expand description
A dynamic part alternative of a multiplexed PDU
Implementations§
Source§impl DynamicPartAlternative
impl DynamicPartAlternative
Sourcepub fn set_ipdu(
&self,
ipdu: &ISignalIPdu,
) -> Result<(), AutosarAbstractionError>
pub fn set_ipdu( &self, ipdu: &ISignalIPdu, ) -> Result<(), AutosarAbstractionError>
set the ISignalIPdu referenced by this dynamic part alternative
Sourcepub fn ipdu(&self) -> Option<ISignalIPdu>
pub fn ipdu(&self) -> Option<ISignalIPdu>
get the ISignalIPdu referenced by this dynamic part alternative
Sourcepub fn set_selector_field_code(
&self,
code: u16,
) -> Result<(), AutosarAbstractionError>
pub fn set_selector_field_code( &self, code: u16, ) -> Result<(), AutosarAbstractionError>
set the selector field code of this dynamic part alternative
Sourcepub fn selector_field_code(&self) -> Option<u16>
pub fn selector_field_code(&self) -> Option<u16>
get the selector field code of this dynamic part alternative
Sourcepub fn set_initial_dynamic_part(
&self,
initial: bool,
) -> Result<(), AutosarAbstractionError>
pub fn set_initial_dynamic_part( &self, initial: bool, ) -> Result<(), AutosarAbstractionError>
set whether this is the initial dynamic part
Sourcepub fn is_initial_dynamic_part(&self) -> Option<bool>
pub fn is_initial_dynamic_part(&self) -> Option<bool>
check whether this is the initial dynamic part
Sourcepub fn multiplexed_ipdu(
&self,
) -> Result<MultiplexedIPdu, AutosarAbstractionError>
pub fn multiplexed_ipdu( &self, ) -> Result<MultiplexedIPdu, AutosarAbstractionError>
get the multiplexed ipdu containing this dynamic part alternative
Trait Implementations§
Source§impl Clone for DynamicPartAlternative
impl Clone for DynamicPartAlternative
Source§fn clone(&self) -> DynamicPartAlternative
fn clone(&self) -> DynamicPartAlternative
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 DynamicPartAlternative
impl Debug for DynamicPartAlternative
Source§impl From<DynamicPartAlternative> for Element
impl From<DynamicPartAlternative> for Element
Source§fn from(val: DynamicPartAlternative) -> Self
fn from(val: DynamicPartAlternative) -> Self
Converts to this type from the input type.
Source§impl Hash for DynamicPartAlternative
impl Hash for DynamicPartAlternative
Source§impl PartialEq for DynamicPartAlternative
impl PartialEq for DynamicPartAlternative
Source§impl TryFrom<Element> for DynamicPartAlternative
impl TryFrom<Element> for DynamicPartAlternative
impl Eq for DynamicPartAlternative
impl StructuralPartialEq for DynamicPartAlternative
Auto Trait Implementations§
impl Freeze for DynamicPartAlternative
impl !RefUnwindSafe for DynamicPartAlternative
impl Send for DynamicPartAlternative
impl Sync for DynamicPartAlternative
impl Unpin for DynamicPartAlternative
impl !UnwindSafe for DynamicPartAlternative
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.