Enum socketcan::CANError
[−]
[src]
pub enum CANError { TransmitTimeout, LostArbitration(u8), ControllerProblem(ControllerProblem), ProtocolViolation { vtype: ViolationType, location: Location, }, TransceiverError, NoAck, BusOff, BusError, Restarted, Unknown(u32), }
Variants
TransmitTimeout
TX timeout (by netdevice driver)
LostArbitration(u8)
Arbitration was lost. Contains the number after which arbitration was lost or 0 if unspecified
ControllerProblem(ControllerProblem)
ProtocolViolation
Fields of ProtocolViolation
vtype: ViolationType | |
location: Location |
TransceiverError
NoAck
BusOff
BusError
Restarted
Unknown(u32)
Methods
impl CANError
[src]
fn from_frame(frame: &CANFrame) -> Result<CANError, CANErrorDecodingFailure>
Trait Implementations
impl Copy for CANError
[src]
impl Clone for CANError
[src]
fn clone(&self) -> CANError
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