pub trait Event: ErrorType {
    // Required method
    fn payload(&self) -> EventPayload<'_, Self::Error>;
}

Required Methods§

source

fn payload(&self) -> EventPayload<'_, Self::Error>

Implementations on Foreign Types§

source§

impl<E> Event for &E
where E: Event,

source§

fn payload(&self) -> EventPayload<'_, <&E as ErrorType>::Error>

source§

impl<E> Event for &mut E
where E: Event,

source§

fn payload(&self) -> EventPayload<'_, <&mut E as ErrorType>::Error>

Implementors§

source§

impl<'a> Event for EspMqttEvent<'a>