Enum socketcan::CANErrorDecodingFailure
[−]
[src]
pub enum CANErrorDecodingFailure { NotAnError, UnknownErrorType(u32), NotEnoughData(u8), InvalidControllerProblem, InvlaidViolationType, InvalidLocation, InvalidTransceiverError, }
Error decoding a CANError from a CANFrame.
Variants
NotAnError
The supplied CANFrame did not have the error bit set.
UnknownErrorType(u32)
The error type is not known and cannot be decoded.
NotEnoughData(u8)
The error type indicated a need for additional information as data
,
but the data
field was not long enough.
InvalidControllerProblem
The error type ControllerProblem
was indicated and additional
information found, but not recognized.
InvlaidViolationType
The type of the ProtocolViolation was not valid
InvalidLocation
A location was specified for a ProtocolViolation, but the location was not valid.
InvalidTransceiverError
The supplied transciever error was invalid.
Trait Implementations
impl Copy for CANErrorDecodingFailure
[src]
impl Clone for CANErrorDecodingFailure
[src]
fn clone(&self) -> CANErrorDecodingFailure
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