Struct socketcan::CANFrame [] [src]

#[repr(C)]
pub struct CANFrame { /* fields omitted */ }

CANFrame

Uses the same memory layout as the underlying kernel struct for performance reasons.

Methods

impl CANFrame
[src]

Return the actual CAN ID (without EFF/RTR/ERR flags)

Return the error message

Check if frame uses 29 bit extended frame format

Check if frame is an error message

Check if frame is a remote transmission request

A slice into the actual data. Slice will always be <= 8 bytes in length

Trait Implementations

impl Debug for CANFrame
[src]

Formats the value using the given formatter.

impl Copy for CANFrame
[src]

impl Clone for CANFrame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl UpperHex for CANFrame
[src]

Formats the value using the given formatter.