Expand description
Linux SocketCAN adapters implementing embedded-can-interface traits.
On Linux, this crate wraps the [socketcan] crate’s sockets in small newtypes that implement
the embedded-can-interface I/O traits (TxFrameIo, RxFrameIo, etc).
On non-Linux targets, the types are present but constructors return
UnsupportedPlatformError.
Structs§
- Socket
Can - Classic CAN SocketCAN adapter (non-Linux stub).
- Socket
CanFd - CAN-FD SocketCAN adapter (non-Linux stub).
- Unsupported
Platform Error - Returned when attempting to use SocketCAN adapters on a non-Linux target.