Enum ntex_mqtt::v5::codec::RetainHandling
source · #[repr(u8)]
pub enum RetainHandling {
AtSubscribe,
AtSubscribeNew,
NoAtSubscribe,
}
Variants
AtSubscribe
AtSubscribeNew
NoAtSubscribe
Trait Implementations
sourceimpl Clone for RetainHandling
impl Clone for RetainHandling
sourcefn clone(&self) -> RetainHandling
fn clone(&self) -> RetainHandling
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RetainHandling
impl Debug for RetainHandling
sourceimpl From<RetainHandling> for u8
impl From<RetainHandling> for u8
sourcefn from(v: RetainHandling) -> Self
fn from(v: RetainHandling) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RetainHandling> for RetainHandling
impl PartialEq<RetainHandling> for RetainHandling
sourcefn eq(&self, other: &RetainHandling) -> bool
fn eq(&self, other: &RetainHandling) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more