pub trait Transmit {
type Frame: Frame;
type Error;
// Required methods
fn is_ready(&mut self) -> bool;
fn transmit(&mut self, frame: &Self::Frame) -> Result<(), Self::Error>;
}Available on crate features
can and nb only.Required Associated Types§
Required Methods§
fn is_ready(&mut self) -> bool
fn transmit(&mut self, frame: &Self::Frame) -> Result<(), Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<I: Instance> Transmit for Tx<I>
impl<I: Instance> Transmit for Tx<I>
Source§type Error = Infallible
type Error = Infallible
Available on crate feature
nb only.