pub enum Qos {
AtMostOnce,
AtLeastOnce,
ExactlyOnce,
}Expand description
Delivery quality of service for a subscription or a publish policy.
Variants§
AtMostOnce
Fire and forget; deliveries carry no acknowledgement
(AckError::Unsupported).
AtLeastOnce
Acknowledged delivery. The default.
ExactlyOnce
Exactly-once handshake (the client completes the second leg automatically).
Trait Implementations§
impl Copy for Qos
impl Eq for Qos
impl StructuralPartialEq for Qos
Auto Trait Implementations§
impl Freeze for Qos
impl RefUnwindSafe for Qos
impl Send for Qos
impl Sync for Qos
impl Unpin for Qos
impl UnsafeUnpin for Qos
impl UnwindSafe for Qos
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