Trait embedded_svc::channel::asynch::Receiver

source ·
pub trait Receiver: ErrorType {
    type Data<'a>
       where Self: 'a;

    // Required method
    async fn recv(&mut self) -> Result<Self::Data<'_>, Self::Error>;
}

Required Associated Types§

source

type Data<'a> where Self: 'a

Required Methods§

source

async fn recv(&mut self) -> Result<Self::Data<'_>, Self::Error>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<R> Receiver for &mut R
where R: Receiver,

§

type Data<'a> = <R as Receiver>::Data<'a> where Self: 'a

source§

async fn recv(&mut self) -> Result<Self::Data<'_>, Self::Error>

Implementors§