Enum ntex_mqtt::v5::codec::RetainHandling
source · #[repr(u8)]pub enum RetainHandling {
AtSubscribe,
AtSubscribeNew,
NoAtSubscribe,
}
Variants§
Trait Implementations§
source§impl Clone for RetainHandling
impl Clone for RetainHandling
source§fn clone(&self) -> RetainHandling
fn clone(&self) -> RetainHandling
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RetainHandling
impl Debug for RetainHandling
source§impl From<RetainHandling> for u8
impl From<RetainHandling> for u8
source§fn from(v: RetainHandling) -> Self
fn from(v: RetainHandling) -> Self
Converts to this type from the input type.
source§impl PartialEq<RetainHandling> for RetainHandling
impl PartialEq<RetainHandling> for RetainHandling
source§fn eq(&self, other: &RetainHandling) -> bool
fn eq(&self, other: &RetainHandling) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for RetainHandling
impl TryFrom<u8> for RetainHandling
impl Copy for RetainHandling
impl Eq for RetainHandling
impl StructuralEq for RetainHandling
impl StructuralPartialEq for RetainHandling
Auto Trait Implementations§
impl RefUnwindSafe for RetainHandling
impl Send for RetainHandling
impl Sync for RetainHandling
impl Unpin for RetainHandling
impl UnwindSafe for RetainHandling
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