[][src]Struct esp_idf_sys::can_message_t

#[repr(C)]
pub struct can_message_t {
    pub flags: u32,
    pub identifier: u32,
    pub data_length_code: u8,
    pub data: [u8; 8],
}

@brief Structure to store a CAN message

@note The flags member is used to control the message type, and transmission type (see documentation for message flags)

Fields

flags: u32

< Bit field of message flags indicates frame/transmission type (see documentation)

identifier: u32

< 11 or 29 bit identifier

data_length_code: u8

< Data length code

data: [u8; 8]

< Data bytes (not relevant in RTR frame)

Trait Implementations

impl Debug for can_message_t[src]

impl Copy for can_message_t[src]

impl Clone for can_message_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]