Enum poster::RetainHandling
source · pub enum RetainHandling {
SendOnSubscribe,
SendIfNoSubscription,
NoSendOnSubscribe,
}Expand description
Retain handling for SubscriptionOptions.
Variants§
SendOnSubscribe
Send retained messages at the time of the subscribe.
SendIfNoSubscription
Send retained messages at subscribe only if the subscription does not currently exist.
NoSendOnSubscribe
Do not send retained messages at the time of the subscribe.
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 more