#[repr(u8)]pub enum QoSLivelinessPolicy {
None = 0,
Automatic = 1,
ManualByNode = 2,
ManualByTopic = 3,
}Expand description
QoS liveliness policy. Matches DDS LIVELINESS semantics.
Variants§
None = 0
No liveliness assertion or tracking. Default for entities that don’t care about liveliness.
Automatic = 1
Backend’s keepalive task asserts liveliness automatically.
ManualByNode = 2
Application calls assert_liveliness() at the node level.
Phase 376 W5/B2 — this was 3 and ManualByTopic was 2, the opposite of
upstream. The discriminant IS the C ABI value (liveliness_kind is
written with as u8), and the cyclonedds backend turns it into a real
DDS liveliness kind that a ROS peer matches on, so the swap was visible
on the wire and nowhere else.
ManualByTopic = 3
Application calls assert_liveliness() per topic explicitly.
Trait Implementations§
Source§impl Clone for QoSLivelinessPolicy
impl Clone for QoSLivelinessPolicy
Source§fn clone(&self) -> QoSLivelinessPolicy
fn clone(&self) -> QoSLivelinessPolicy
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 QoSLivelinessPolicy
Source§impl Debug for QoSLivelinessPolicy
impl Debug for QoSLivelinessPolicy
Source§impl Default for QoSLivelinessPolicy
impl Default for QoSLivelinessPolicy
Source§fn default() -> QoSLivelinessPolicy
fn default() -> QoSLivelinessPolicy
Returns the “default value” for a type. Read more
impl Eq for QoSLivelinessPolicy
Source§impl PartialEq for QoSLivelinessPolicy
impl PartialEq for QoSLivelinessPolicy
Source§fn eq(&self, other: &QoSLivelinessPolicy) -> bool
fn eq(&self, other: &QoSLivelinessPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QoSLivelinessPolicy
Auto Trait Implementations§
impl Freeze for QoSLivelinessPolicy
impl RefUnwindSafe for QoSLivelinessPolicy
impl Send for QoSLivelinessPolicy
impl Sync for QoSLivelinessPolicy
impl Unpin for QoSLivelinessPolicy
impl UnsafeUnpin for QoSLivelinessPolicy
impl UnwindSafe for QoSLivelinessPolicy
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