pub enum StatusEvent {
Connected,
Disconnected,
}
Expand description
Meta/status change event.
Variants§
Connected
Client has connected to the MQTT broker.
Disconnected
Client has disconnected from (or lost connection to) the MQTT broker.
Trait Implementations§
Source§impl Clone for StatusEvent
impl Clone for StatusEvent
Source§fn clone(&self) -> StatusEvent
fn clone(&self) -> StatusEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StatusEvent
impl RefUnwindSafe for StatusEvent
impl Send for StatusEvent
impl Sync for StatusEvent
impl Unpin for StatusEvent
impl UnwindSafe for StatusEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more