Expand description
CAN transport abstraction.
Structs§
- BusPoller
- Registers multiple bus fds and waits for any to become readable within a
deadline. Buses with no
raw_fdcannot be registered and must be polled out-of-band. - Mock
CanBus - Single-process mock CAN bus.
- Socket
CanBus - Linux SocketCAN bus.
Enums§
- Mock
Recorded Call - Record of method calls a
MockCanBushas seen — used by tests to assert that group code calls onlysendand neverdrain_inbound_nonblocking. - Transport
Error - Errors returned by transport operations.
Traits§
- CanBus
- The contract every CAN transport must satisfy.