Enum socketcan::CANErrorDecodingFailure [] [src]

pub enum CANErrorDecodingFailure {
    NotAnError,
    UnknownErrorType(u32),
    NotEnoughData(u8),
    InvalidControllerProblem,
    InvlaidViolationType,
    InvalidLocation,
    InvalidTransceiverError,
}

Error decoding a CANError from a CANFrame.

Variants

The supplied CANFrame did not have the error bit set.

The error type is not known and cannot be decoded.

The error type indicated a need for additional information as data, but the data field was not long enough.

The error type ControllerProblem was indicated and additional information found, but not recognized.

The type of the ProtocolViolation was not valid

A location was specified for a ProtocolViolation, but the location was not valid.

The supplied transciever error was invalid.

Trait Implementations

impl Copy for CANErrorDecodingFailure
[src]

impl Clone for CANErrorDecodingFailure
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CANErrorDecodingFailure
[src]

Formats the value using the given formatter.