Receive

Trait Receive 

Source
pub trait Receive {
    type Frame: Frame;
    type Error;

    // Required method
    fn receive(&mut self) -> Result<Self::Frame, Self::Error>;
}
Available on crate features can and nb only.

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<I: Instance> Receive for Rx0<I>

Source§

type Frame = Frame

Available on crate feature nb only.
Source§

type Error = OverrunError

Available on crate feature nb only.
Source§

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

Available on crate feature nb only.
Source§

impl<I: Instance> Receive for Rx1<I>

Source§

type Frame = Frame

Available on crate feature nb only.
Source§

type Error = OverrunError

Available on crate feature nb only.
Source§

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

Available on crate feature nb only.

Implementors§