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 ==
.