Enum for_mqtt_client::ClientCommand
source · pub enum ClientCommand {
DisconnectAndDrop,
ViolenceDisconnectAndDrop,
}
Variants§
DisconnectAndDrop
to send disconnect packet and drop resouces, mqtt client will diconnect event if auto reconnect
ViolenceDisconnectAndDrop
not to send disconnect packet and drop resouces, mqtt client will diconnect event if auto reconnect
Trait Implementations§
source§impl Clone for ClientCommand
impl Clone for ClientCommand
source§fn clone(&self) -> ClientCommand
fn clone(&self) -> ClientCommand
Returns a copy 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 RefUnwindSafe for ClientCommand
impl Send for ClientCommand
impl Sync for ClientCommand
impl Unpin for ClientCommand
impl UnwindSafe for ClientCommand
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