pub struct LinUnconditionalFrame(/* private fields */);Expand description
A frame on a LIN bus
Trait Implementations§
Source§impl AbstractFrame for LinUnconditionalFrame
impl AbstractFrame for LinUnconditionalFrame
Source§fn frame_triggerings(&self) -> Vec<LinFrameTriggering>
fn frame_triggerings(&self) -> Vec<LinFrameTriggering>
List all LinFrameTriggerings using this frame
Source§fn map_pdu<T: AbstractPdu>(
&self,
gen_pdu: &T,
start_position: u32,
byte_order: ByteOrder,
update_bit: Option<u32>,
) -> Result<PduToFrameMapping, AutosarAbstractionError>
fn map_pdu<T: AbstractPdu>( &self, gen_pdu: &T, start_position: u32, byte_order: ByteOrder, update_bit: Option<u32>, ) -> Result<PduToFrameMapping, AutosarAbstractionError>
map a PDU to the frame
Source§type FrameTriggeringType = LinFrameTriggering
type FrameTriggeringType = LinFrameTriggering
The bus-specific frame triggering type
Source§fn mapped_pdus(
&self,
) -> impl Iterator<Item = PduToFrameMapping> + Send + use<Self>
fn mapped_pdus( &self, ) -> impl Iterator<Item = PduToFrameMapping> + Send + use<Self>
returns an iterator over all PDUs in the frame
Source§fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
fn set_length(&self, length: u32) -> Result<(), AutosarAbstractionError>
set the length of the frame
Source§impl Clone for LinUnconditionalFrame
impl Clone for LinUnconditionalFrame
Source§fn clone(&self) -> LinUnconditionalFrame
fn clone(&self) -> LinUnconditionalFrame
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 LinUnconditionalFrame
impl Debug for LinUnconditionalFrame
Source§impl From<LinUnconditionalFrame> for Element
impl From<LinUnconditionalFrame> for Element
Source§fn from(val: LinUnconditionalFrame) -> Self
fn from(val: LinUnconditionalFrame) -> Self
Converts to this type from the input type.
Source§impl Hash for LinUnconditionalFrame
impl Hash for LinUnconditionalFrame
Source§impl PartialEq for LinUnconditionalFrame
impl PartialEq for LinUnconditionalFrame
Source§impl TryFrom<Element> for LinUnconditionalFrame
impl TryFrom<Element> for LinUnconditionalFrame
impl Eq for LinUnconditionalFrame
impl StructuralPartialEq for LinUnconditionalFrame
Auto Trait Implementations§
impl Freeze for LinUnconditionalFrame
impl !RefUnwindSafe for LinUnconditionalFrame
impl Send for LinUnconditionalFrame
impl Sync for LinUnconditionalFrame
impl Unpin for LinUnconditionalFrame
impl !UnwindSafe for LinUnconditionalFrame
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.