Enum esp_idf_svc::mqtt::client::MqttProtocolVersion
source · pub enum MqttProtocolVersion {
V3_1,
V3_1_1,
}
Variants§
Trait Implementations§
source§impl Clone for MqttProtocolVersion
impl Clone for MqttProtocolVersion
source§fn clone(&self) -> MqttProtocolVersion
fn clone(&self) -> MqttProtocolVersion
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MqttProtocolVersion
impl Debug for MqttProtocolVersion
source§impl From<MqttProtocolVersion> for esp_mqtt_protocol_ver_t
impl From<MqttProtocolVersion> for esp_mqtt_protocol_ver_t
source§fn from(pv: MqttProtocolVersion) -> Self
fn from(pv: MqttProtocolVersion) -> Self
Converts to this type from the input type.
source§impl PartialEq for MqttProtocolVersion
impl PartialEq for MqttProtocolVersion
source§fn eq(&self, other: &MqttProtocolVersion) -> bool
fn eq(&self, other: &MqttProtocolVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MqttProtocolVersion
impl Eq for MqttProtocolVersion
impl StructuralPartialEq for MqttProtocolVersion
Auto Trait Implementations§
impl Freeze for MqttProtocolVersion
impl RefUnwindSafe for MqttProtocolVersion
impl Send for MqttProtocolVersion
impl Sync for MqttProtocolVersion
impl Unpin for MqttProtocolVersion
impl UnwindSafe for MqttProtocolVersion
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)