embedded_hal_can

Trait Interface

Source
pub trait Interface {
    type Id: Id;
    type Frame: Frame<Id = Self::Id>;
    type Error;
    type Filter: Filter<Id = Self::Id>;
}
Expand description

A CAN interface

May be a Transmitter, Receiver or both.

Required Associated Types§

Source

type Id: Id

The Id type that works with this Interface

Source

type Frame: Frame<Id = Self::Id>

The Can Frame this Interface operates on

Source

type Error

The Interface Error type

Source

type Filter: Filter<Id = Self::Id>

The Filter type used in this Interface

Implementors§