pub enum Property<'a> {
Show 28 variants
PayloadFormat(u8),
MessageExpiryInterval(u32),
ContentType(EncodedString<'a>),
ResponseTopic(EncodedString<'a>),
CorrelationData(BinaryData<'a>),
SubscriptionIdentifier(u32),
SessionExpiryInterval(u32),
AssignedClientIdentifier(EncodedString<'a>),
ServerKeepAlive(u16),
AuthenticationMethod(EncodedString<'a>),
AuthenticationData(BinaryData<'a>),
RequestProblemInformation(u8),
WillDelayInterval(u32),
RequestResponseInformation(u8),
ResponseInformation(EncodedString<'a>),
ServerReference(EncodedString<'a>),
ReasonString(EncodedString<'a>),
ReceiveMaximum(u16),
TopicAliasMaximum(u16),
TopicAlias(u16),
MaximumQoS(u8),
RetainAvailable(u8),
UserProperty(StringPair<'a>),
MaximumPacketSize(u32),
WildcardSubscriptionAvailable(u8),
SubscriptionIdentifierAvailable(u8),
SharedSubscriptionAvailable(u8),
Reserved(),
}
Variants§
PayloadFormat(u8)
MessageExpiryInterval(u32)
ContentType(EncodedString<'a>)
ResponseTopic(EncodedString<'a>)
CorrelationData(BinaryData<'a>)
SubscriptionIdentifier(u32)
SessionExpiryInterval(u32)
AssignedClientIdentifier(EncodedString<'a>)
ServerKeepAlive(u16)
AuthenticationMethod(EncodedString<'a>)
AuthenticationData(BinaryData<'a>)
RequestProblemInformation(u8)
WillDelayInterval(u32)
RequestResponseInformation(u8)
ResponseInformation(EncodedString<'a>)
ServerReference(EncodedString<'a>)
ReasonString(EncodedString<'a>)
ReceiveMaximum(u16)
TopicAliasMaximum(u16)
TopicAlias(u16)
MaximumQoS(u8)
RetainAvailable(u8)
UserProperty(StringPair<'a>)
MaximumPacketSize(u32)
WildcardSubscriptionAvailable(u8)
SubscriptionIdentifierAvailable(u8)
Reserved()
Implementations§
Source§impl<'a> Property<'a>
impl<'a> Property<'a>
pub fn connect_property(&self) -> bool
pub fn connack_property(&self) -> bool
pub fn publish_property(&self) -> bool
pub fn puback_property(&self) -> bool
pub fn pubrec_property(&self) -> bool
pub fn pubrel_property(&self) -> bool
pub fn pubcomp_property(&self) -> bool
pub fn subscribe_property(&self) -> bool
pub fn suback_property(&self) -> bool
pub fn unsubscribe_property(&self) -> bool
pub fn unsuback_property(&self) -> bool
pub fn pingreq_property(&self) -> bool
pub fn pingresp_property(&self) -> bool
pub fn disconnect_property(&self) -> bool
pub fn auth_property(&self) -> bool
pub fn encoded_len(&self) -> u16
pub fn encode( &self, buff_writer: &mut BuffWriter<'a>, ) -> Result<(), BufferError>
pub fn decode( buff_reader: &mut BuffReader<'a>, ) -> Result<Property<'a>, BufferError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Property<'a>
impl<'a> RefUnwindSafe for Property<'a>
impl<'a> Send for Property<'a>
impl<'a> Sync for Property<'a>
impl<'a> Unpin for Property<'a>
impl<'a> UnwindSafe for Property<'a>
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