Enum rust_mqtt::client::client_config::MqttVersion
source · pub enum MqttVersion {
MQTTv3,
MQTTv5,
}
Variants§
Trait Implementations§
source§impl Clone for MqttVersion
impl Clone for MqttVersion
source§fn clone(&self) -> MqttVersion
fn clone(&self) -> MqttVersion
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 moresource§impl PartialEq<MqttVersion> for MqttVersion
impl PartialEq<MqttVersion> for MqttVersion
source§fn eq(&self, other: &MqttVersion) -> bool
fn eq(&self, other: &MqttVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.