Enum rclrust::LivelinessPolicy
source · [−]#[repr(u32)]
pub enum LivelinessPolicy {
SystemDefault,
Automatic,
ManualByNode,
ManualByTopic,
Unknown,
}
Expand description
QoS liveliness enumerations that describe a publisher’s reporting policy for its alive status. For a subscriber, these are its requirements for its topic’s publishers.
Variants
SystemDefault
Implementation specific default
Automatic
The signal that establishes a Topic is alive comes from the ROS rmw layer.
ManualByNode
Explicitly asserting node liveliness is required in this case. This option is deprecated, use RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_TOPIC if your application requires to assert liveliness manually.
ManualByTopic
The signal that establishes a Topic is alive is at the Topic level. 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.
Unknown
Liveliness policy has not yet been set
Trait Implementations
sourceimpl Clone for RMWQoSLivelinessPolicy
impl Clone for RMWQoSLivelinessPolicy
sourcefn clone(&self) -> RMWQoSLivelinessPolicy
fn clone(&self) -> RMWQoSLivelinessPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RMWQoSLivelinessPolicy
impl Debug for RMWQoSLivelinessPolicy
sourceimpl Hash for RMWQoSLivelinessPolicy
impl Hash for RMWQoSLivelinessPolicy
impl Copy for RMWQoSLivelinessPolicy
impl Eq for RMWQoSLivelinessPolicy
impl StructuralEq for RMWQoSLivelinessPolicy
impl StructuralPartialEq for RMWQoSLivelinessPolicy
Auto Trait Implementations
impl RefUnwindSafe for RMWQoSLivelinessPolicy
impl Send for RMWQoSLivelinessPolicy
impl Sync for RMWQoSLivelinessPolicy
impl Unpin for RMWQoSLivelinessPolicy
impl UnwindSafe for RMWQoSLivelinessPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more