pub enum QoSOverrideValue {
Reliability(QoSReliabilityPolicy),
Durability(QoSDurabilityPolicy),
History(QoSHistoryPolicy),
Depth(u32),
Deadline(u32),
Lifespan(u32),
Liveliness(QoSLivelinessPolicy),
LivelinessLease(u32),
}Expand description
Phase 211.H — a single policy value a QoSOverride sets. A typed enum
(not a string) so the codegen that bakes these from the plan catches an
unknown policy / mistyped value at generation time rather than silently
no-op-ing at runtime.
Variants§
Reliability(QoSReliabilityPolicy)
.reliability → Reliable / BestEffort.
Durability(QoSDurabilityPolicy)
.durability → Volatile / TransientLocal.
History(QoSHistoryPolicy)
.history → KeepLast / KeepAll.
Depth(u32)
.depth → KeepLast depth.
Deadline(u32)
Issue 0303 — .deadline → QoSProfile::deadline_ms. 0 /
DURATION_INFINITE_MS = no deadline check.
Lifespan(u32)
Issue 0303 — .lifespan → QoSProfile::lifespan_ms.
Liveliness(QoSLivelinessPolicy)
Issue 0303 — .liveliness → QoSProfile::liveliness_kind.
LivelinessLease(u32)
Issue 0303 — .liveliness_lease_duration →
QoSProfile::liveliness_lease_ms.
Trait Implementations§
Source§impl Clone for QoSOverrideValue
impl Clone for QoSOverrideValue
Source§fn clone(&self) -> QoSOverrideValue
fn clone(&self) -> QoSOverrideValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QoSOverrideValue
Source§impl Debug for QoSOverrideValue
impl Debug for QoSOverrideValue
impl Eq for QoSOverrideValue
Source§impl PartialEq for QoSOverrideValue
impl PartialEq for QoSOverrideValue
Source§fn eq(&self, other: &QoSOverrideValue) -> bool
fn eq(&self, other: &QoSOverrideValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QoSOverrideValue
Auto Trait Implementations§
impl Freeze for QoSOverrideValue
impl RefUnwindSafe for QoSOverrideValue
impl Send for QoSOverrideValue
impl Sync for QoSOverrideValue
impl Unpin for QoSOverrideValue
impl UnsafeUnpin for QoSOverrideValue
impl UnwindSafe for QoSOverrideValue
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