Enum mqtt_bytes_v5::RetainForwardRule
source · pub enum RetainForwardRule {
OnEverySubscribe,
OnNewSubscribe,
Never,
}Variants§
Trait Implementations§
source§impl Clone for RetainForwardRule
impl Clone for RetainForwardRule
source§fn clone(&self) -> RetainForwardRule
fn clone(&self) -> RetainForwardRule
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 RetainForwardRule
impl Debug for RetainForwardRule
source§impl Default for RetainForwardRule
impl Default for RetainForwardRule
source§impl PartialEq for RetainForwardRule
impl PartialEq for RetainForwardRule
source§fn eq(&self, other: &RetainForwardRule) -> bool
fn eq(&self, other: &RetainForwardRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RetainForwardRule
impl StructuralPartialEq for RetainForwardRule
Auto Trait Implementations§
impl Freeze for RetainForwardRule
impl RefUnwindSafe for RetainForwardRule
impl Send for RetainForwardRule
impl Sync for RetainForwardRule
impl Unpin for RetainForwardRule
impl UnwindSafe for RetainForwardRule
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