Trait embedded_svc::mqtt::client::Connection

source ·
pub trait Connection: ErrorType {
    type Event<'a>: Event
       where Self: 'a;

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

Required Associated Types§

source

type Event<'a>: Event where Self: 'a

Required Methods§

source

fn next(&mut self) -> Result<Self::Event<'_>, Self::Error>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<C> Connection for &mut C
where C: Connection,

§

type Event<'a> = <C as Connection>::Event<'a> where Self: 'a

source§

fn next(&mut self) -> Result<Self::Event<'_>, Self::Error>

Implementors§