Enum socketcan::CANSocketOpenError [] [src]

pub enum CANSocketOpenError {
    LookupError(Error),
    IOError(Error),
}

Errors opening socket

Variants

LookupError(Error)

Device could not be found

IOError(Error)

System error while trying to look up device name

Trait Implementations

impl Debug for CANSocketOpenError
[src]

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

Formats the value using the given formatter.

impl Display for CANSocketOpenError
[src]

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

Formats the value using the given formatter.

impl Error for CANSocketOpenError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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

impl From<Error> for CANSocketOpenError
[src]

fn from(e: Error) -> CANSocketOpenError

Performs the conversion.

impl From<Error> for CANSocketOpenError
[src]

fn from(e: Error) -> CANSocketOpenError

Performs the conversion.