[−][src]Enum sage_mqtt::QoS
Description the quality of service used in message publishing.
Variants
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.
This Quality of Service level ensures that the message arrives at the
receiver at least once. A QoS 1 PUBLISH packet has a Packet Identifier
and is acknowledged by a Puback
packet.
This is the highest Quality of Service level, for use when neither loss
nor duplication of messages are acceptable.
There is an increased overhead associated with QoS 2.
A QoS 2 message has a Packet Identifier. The receiver of a QoS 2
Publish
packet acknowledges receipt with a two-step
acknowledgement process.
Trait Implementations
impl Clone for QoS
[src]
impl Copy for QoS
[src]
impl Debug for QoS
[src]
impl Eq for QoS
[src]
impl PartialEq<QoS> for QoS
[src]
impl StructuralEq for QoS
[src]
impl StructuralPartialEq for QoS
[src]
impl TryFrom<u8> for QoS
[src]
Auto Trait Implementations
impl RefUnwindSafe for QoS
impl Send for QoS
impl Sync for QoS
impl Unpin for QoS
impl UnwindSafe for QoS
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,