#[repr(C)]pub enum PamojaQos {
AtMostOnce = 0,
AtLeastOnce = 1,
ExactlyOnce = 2,
}Expand description
MQTT delivery guarantee, mirroring the protocol’s quality-of-service levels.
Variants§
AtMostOnce = 0
Fire and forget; the broker does not acknowledge delivery.
AtLeastOnce = 1
Delivered at least once and acknowledged.
ExactlyOnce = 2
Delivered exactly once via a four-step handshake.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PamojaQos
impl RefUnwindSafe for PamojaQos
impl Send for PamojaQos
impl Sync for PamojaQos
impl Unpin for PamojaQos
impl UnsafeUnpin for PamojaQos
impl UnwindSafe for PamojaQos
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