pub enum QoS {
AtMostOnce = 0,
AtLeastOnce = 1,
ExactlyOnce = 2,
}
Expand description
Quality of service
Variants§
Trait Implementations§
Source§impl From<QoS> for ConnectFlags
impl From<QoS> for ConnectFlags
Source§fn from(qos: QoS) -> ConnectFlags
fn from(qos: QoS) -> ConnectFlags
Converts to this type from the input type.
Source§impl Ord for QoS
impl Ord for QoS
Source§impl PartialOrd for QoS
impl PartialOrd for QoS
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 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