Transmit

Trait Transmit 

Source
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§

Source

fn is_ready(&mut self) -> bool

Source

fn transmit(&mut self, frame: &Self::Frame) -> Result<(), Self::Error>

Implementations on Foreign Types§

Source§

impl<I: Instance> Transmit for Tx<I>

Source§

type Frame = Frame

Available on crate feature nb only.
Source§

type Error = Infallible

Available on crate feature nb only.
Source§

fn is_ready(&mut self) -> bool

Available on crate feature nb only.
Source§

fn transmit(&mut self, frame: &Self::Frame) -> Result<(), Self::Error>

Available on crate feature nb only.

Implementors§