Enum ntex_mqtt::types::QoS [−][src]
#[repr(u8)] pub enum QoS { AtMostOnce, AtLeastOnce, ExactlyOnce, }
Quality of Service
Variants
At most once delivery
The message is delivered according to the capabilities of the underlying network. No response is sent by the receiver and no retry is performed by the sender. The message arrives at the receiver either once or not at all.
At least once delivery
This quality of service ensures that the message arrives at the receiver at least once. A QoS 1 PUBLISH Packet has a Packet Identifier in its variable header and is acknowledged by a PUBACK Packet.
Exactly once delivery
This is the highest quality of service, for use when neither loss nor duplication of messages are acceptable. There is an increased overhead associated with this quality of service.
Trait Implementations
impl StructuralEq for QoS
[src]
impl StructuralEq for QoS
[src]impl StructuralPartialEq for QoS
[src]
impl StructuralPartialEq for QoS
[src]Auto Trait Implementations
impl RefUnwindSafe for QoS
impl RefUnwindSafe for QoS
impl UnwindSafe for QoS
impl UnwindSafe for QoS
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self