pub struct EspMqttEvent<'a>(/* private fields */);
Implementations§
Source§impl<'a> EspMqttEvent<'a>
impl<'a> EspMqttEvent<'a>
pub fn payload(&self) -> EventPayload<'_, EspError>
Trait Implementations§
Source§impl Event for EspMqttEvent<'_>
impl Event for EspMqttEvent<'_>
fn payload(&self) -> EventPayload<'_, Self::Error>
impl Send for EspMqttEvent<'_>
SAFETY: EspMqttEvent contains no thread-specific data.
impl Sync for EspMqttEvent<'_>
SAFETY: EspMqttEvent is a read-only struct, so sharing it between threads is fine.