pub struct LinSporadicFrame(/* private fields */);Expand description
A frame on a LIN bus
Trait Implementations§
Source§impl AbstractFrame for LinSporadicFrame
impl AbstractFrame for LinSporadicFrame
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 LinSporadicFrame
impl Clone for LinSporadicFrame
Source§fn clone(&self) -> LinSporadicFrame
fn clone(&self) -> LinSporadicFrame
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 LinSporadicFrame
impl Debug for LinSporadicFrame
Source§impl From<LinSporadicFrame> for Element
impl From<LinSporadicFrame> for Element
Source§fn from(val: LinSporadicFrame) -> Self
fn from(val: LinSporadicFrame) -> Self
Converts to this type from the input type.
Source§impl Hash for LinSporadicFrame
impl Hash for LinSporadicFrame
Source§impl PartialEq for LinSporadicFrame
impl PartialEq for LinSporadicFrame
Source§impl TryFrom<Element> for LinSporadicFrame
impl TryFrom<Element> for LinSporadicFrame
impl Eq for LinSporadicFrame
impl StructuralPartialEq for LinSporadicFrame
Auto Trait Implementations§
impl Freeze for LinSporadicFrame
impl !RefUnwindSafe for LinSporadicFrame
impl Send for LinSporadicFrame
impl Sync for LinSporadicFrame
impl Unpin for LinSporadicFrame
impl !UnwindSafe for LinSporadicFrame
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.