kernel::hil::can

Trait Can

Source
pub trait Can:
    Transmit<STANDARD_CAN_PACKET_SIZE>
    + Configure
    + Controller
    + Receive<STANDARD_CAN_PACKET_SIZE> { }
Expand description

Convenience type for capsules that configure, send and receive data using the CAN peripheral

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Transmit<STANDARD_CAN_PACKET_SIZE> + Configure + Controller + Receive<STANDARD_CAN_PACKET_SIZE>> Can for T

Provide blanket implementation for Can trait group