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 more