pub enum QosHistoryPolicy {
KeepLast,
KeepAll,
}Expand description
QoS history policy
Variants§
KeepLast
Keep last N messages (where N is defined in QosSettings)
KeepAll
Keep all messages (up to resource limits)
Trait Implementations§
Source§impl Clone for QosHistoryPolicy
impl Clone for QosHistoryPolicy
Source§fn clone(&self) -> QosHistoryPolicy
fn clone(&self) -> QosHistoryPolicy
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 QosHistoryPolicy
impl Debug for QosHistoryPolicy
Source§impl Default for QosHistoryPolicy
impl Default for QosHistoryPolicy
Source§fn default() -> QosHistoryPolicy
fn default() -> QosHistoryPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for QosHistoryPolicy
impl PartialEq for QosHistoryPolicy
impl Copy for QosHistoryPolicy
impl Eq for QosHistoryPolicy
impl StructuralPartialEq for QosHistoryPolicy
Auto Trait Implementations§
impl Freeze for QosHistoryPolicy
impl RefUnwindSafe for QosHistoryPolicy
impl Send for QosHistoryPolicy
impl Sync for QosHistoryPolicy
impl Unpin for QosHistoryPolicy
impl UnsafeUnpin for QosHistoryPolicy
impl UnwindSafe for QosHistoryPolicy
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