pub enum MqttProperty {
SessionExpiryInterval(u32),
MaximumPacketSize(u32),
TopicAlias(u16),
RequestResponseInfo(bool),
Unknown(u8, Vec<u8>),
}Expand description
MQTT 5.0 property.
Variants§
SessionExpiryInterval(u32)
MaximumPacketSize(u32)
TopicAlias(u16)
RequestResponseInfo(bool)
Unknown(u8, Vec<u8>)
Trait Implementations§
Source§impl Clone for MqttProperty
impl Clone for MqttProperty
Source§fn clone(&self) -> MqttProperty
fn clone(&self) -> MqttProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MqttProperty
impl RefUnwindSafe for MqttProperty
impl Send for MqttProperty
impl Sync for MqttProperty
impl Unpin for MqttProperty
impl UnsafeUnpin for MqttProperty
impl UnwindSafe for MqttProperty
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