Enum socketcan::ConstructionError [] [src]

pub enum ConstructionError {
    IDTooLarge,
    TooMuchData,
}

Error that occurs when creating CAN packets

Variants

IDTooLarge

CAN ID was outside the range of valid IDs

TooMuchData

More than 8 Bytes of payload data were passed in

Trait Implementations

impl Clone for ConstructionError
[src]

fn clone(&self) -> ConstructionError

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for ConstructionError
[src]

impl Debug for ConstructionError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ConstructionError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ConstructionError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more