Enum mqttrs::QoS [−][src]
pub enum QoS { AtMostOnce, AtLeastOnce, ExactlyOnce, }
Expand description
Packet delivery Quality of Service level.
Variants
QoS 0
. No ack needed.
QoS 1
. One ack needed.
QoS 2
. Two acks needed.
Trait Implementations
impl Copy for QoS
[src]
impl Eq for QoS
[src]
impl StructuralEq for QoS
[src]
impl StructuralPartialEq 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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more