pub enum MqttVersion {
V3,
V5,
}
Expand description
Represents the MQTT protocol version used by the client.
Variants§
Trait Implementations§
Source§impl Clone for MqttVersion
impl Clone for MqttVersion
Source§fn clone(&self) -> MqttVersion
fn clone(&self) -> MqttVersion
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 moreSource§impl Debug for MqttVersion
impl Debug for MqttVersion
Source§impl PartialEq for MqttVersion
impl PartialEq for MqttVersion
impl Copy for MqttVersion
impl Eq for MqttVersion
impl StructuralPartialEq for MqttVersion
Auto Trait Implementations§
impl Freeze for MqttVersion
impl RefUnwindSafe for MqttVersion
impl Send for MqttVersion
impl Sync for MqttVersion
impl Unpin for MqttVersion
impl UnwindSafe for MqttVersion
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