Trait embedded_svc::channel::asynch::Sender

source ·
pub trait Sender: ErrorType {
    type Data<'a>: Send;

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

Required Associated Types§

source

type Data<'a>: Send

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<S> Sender for &mut S
where S: Sender,

§

type Data<'a> = <S as Sender>::Data<'a>

source§

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

Implementors§