Enum mqttrs::Protocol [−][src]
pub enum Protocol { MQTT311, MQIsdp, }
Expand description
Protocol version.
Sent in Connect
packet.
Variants
MQTT 3.1.1 is the most commonly implemented version. MQTT 5 isn’t yet supported my by
mqttrs
.
MQIsdp, aka SCADA are pre-standardisation names of MQTT. It should mostly conform to MQTT
3.1.1, but you should watch out for implementation discrepancies. Mqttrs
handles it like
standard MQTT 3.1.1.
Trait Implementations
impl Copy for Protocol
[src]
impl Eq for Protocol
[src]
impl StructuralEq for Protocol
[src]
impl StructuralPartialEq for Protocol
[src]
Auto Trait Implementations
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more