pub enum RetainHandling {
AlwaysSend,
SendIfNotSubscribedBefore,
NeverSend,
}Expand description
Serverside retain handling configuration for a subscription.
Variants§
AlwaysSend
Retained messages are always sent at the time of the subscribe.
SendIfNotSubscribedBefore
Retained messages are only sent if the subscription did not exist before.
NeverSend
Retained messages are never sent.
Trait Implementations§
Source§impl Clone for RetainHandling
impl Clone for RetainHandling
Source§fn clone(&self) -> RetainHandling
fn clone(&self) -> RetainHandling
Returns a duplicate 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 Default for RetainHandling
impl Default for RetainHandling
Source§fn default() -> RetainHandling
fn default() -> RetainHandling
Returns the “default value” for a type. Read more
impl Copy for RetainHandling
Auto Trait Implementations§
impl Freeze for RetainHandling
impl RefUnwindSafe for RetainHandling
impl Send for RetainHandling
impl Sync for RetainHandling
impl Unpin for RetainHandling
impl UnsafeUnpin 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