#[non_exhaustive]pub enum Frame {
    Can(CanFrame),
    Flexray(FlexrayFrame),
}Expand description
A wrapper for CAN and FlexRay frames (Ethernet does not use frames)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AbstractFrame for Frame
 
impl AbstractFrame for 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 = FrameTriggering
 
type FrameTriggeringType = FrameTriggering
The bus-specific frame triggering type
Source§fn frame_triggerings(&self) -> impl Iterator<Item = FrameTriggering>
 
fn frame_triggerings(&self) -> impl Iterator<Item = FrameTriggering>
Iterator over all 
FrameTriggerings using this frameSource§fn mapped_pdus(&self) -> impl Iterator<Item = PduToFrameMapping>
 
fn mapped_pdus(&self) -> impl Iterator<Item = PduToFrameMapping>
returns an iterator over all PDUs in the frame
Source§impl AbstractionElement for Frame
 
impl AbstractionElement for Frame
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl !RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl !UnwindSafe for Frame
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.