pub enum QoSLivelinessPolicy {
SystemDefault = 0,
Automatic = 1,
ManualByTopic = 3,
}
Expand description
The LIVELINESS
DDS QoS policy.
This policy describes a publisher’s reporting policy for its alive status. For a subscription, these are its requirements for its topic’s publishers.
§Compatibility
Publisher | Subscription | Compatible |
---|---|---|
Automatic | Automatic | yes |
Automatic | ManualByTopic | no |
ManualByTopic | Automatic | yes |
ManualByTopic | ManualByTopic | yes |
Variants§
SystemDefault = 0
Use the default policy of the RMW layer.
Automatic = 1
The signal that establishes that a topic is alive comes from the ROS rmw
layer.
ManualByTopic = 3
The signal that establishes that a topic is alive is sent explicitly. Only publishing a message on the topic or an explicit signal from the application to assert liveliness on the topic will mark the topic as being alive.
Trait Implementations§
Source§impl Clone for QoSLivelinessPolicy
impl Clone for QoSLivelinessPolicy
Source§fn clone(&self) -> QoSLivelinessPolicy
fn clone(&self) -> QoSLivelinessPolicy
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 moreSource§impl Debug for QoSLivelinessPolicy
impl Debug for QoSLivelinessPolicy
Source§impl Ord for QoSLivelinessPolicy
impl Ord for QoSLivelinessPolicy
Source§fn cmp(&self, other: &QoSLivelinessPolicy) -> Ordering
fn cmp(&self, other: &QoSLivelinessPolicy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QoSLivelinessPolicy
impl PartialEq for QoSLivelinessPolicy
Source§impl PartialOrd for QoSLivelinessPolicy
impl PartialOrd for QoSLivelinessPolicy
impl Copy for QoSLivelinessPolicy
impl Eq for QoSLivelinessPolicy
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 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