Trait embedded_svc::channel::Sender

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

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

Required Associated Types§

source

type Data<'a>

Required Methods§

source

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§

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

Implementors§