[−][src]Enum paho_mqtt::properties::PropertyCode
The enumerated codes for the MQTT v5 properties.
The property code defines both the meaning of the value in the property (Correlation Data, Server Keep Alive) and the data type held by the property.
Variants
Implementations
impl PropertyCode
[src]
pub fn new(code: MQTTPropertyCodes) -> Option<Self>
[src]
pub fn property_type(&self) -> PropertyType
[src]
Get the property type from the code identifier.
pub fn type_of(&self) -> TypeId
[src]
Gets the any::TypeId that corresponds to the property type.
Trait Implementations
impl Clone for PropertyCode
[src]
pub fn clone(&self) -> PropertyCode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PropertyCode
[src]
impl Debug for PropertyCode
[src]
impl PartialEq<PropertyCode> for PropertyCode
[src]
pub fn eq(&self, other: &PropertyCode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for PropertyCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for PropertyCode
[src]
impl Send for PropertyCode
[src]
impl Sync for PropertyCode
[src]
impl Unpin for PropertyCode
[src]
impl UnwindSafe for PropertyCode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,