pub enum QoSReliabilityPolicy {
SystemDefault = 0,
Reliable = 1,
BestEffort = 2,
}
Expand description
The RELIABILITY
DDS QoS policy.
This policy determines whether delivery between a publisher and a subscription will be retried until successful, or whether messages may be lost in a trade off for better performance.
§Compatibility
Publisher | Subscription | Compatible | Behavior |
---|---|---|---|
Reliable | Reliable | yes | Reliable |
Reliable | BestEffort | yes | Best effort |
BestEffort | Reliable | no | - |
BestEffort | BestEffort | yes | Best effort |
Variants§
SystemDefault = 0
Use the default policy of the RMW layer.
Reliable = 1
Guarantee delivery of messages.
BestEffort = 2
Send messages but do not guarantee delivery.
Trait Implementations§
Source§impl Clone for QoSReliabilityPolicy
impl Clone for QoSReliabilityPolicy
Source§fn clone(&self) -> QoSReliabilityPolicy
fn clone(&self) -> QoSReliabilityPolicy
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 QoSReliabilityPolicy
impl Debug for QoSReliabilityPolicy
Source§impl Ord for QoSReliabilityPolicy
impl Ord for QoSReliabilityPolicy
Source§fn cmp(&self, other: &QoSReliabilityPolicy) -> Ordering
fn cmp(&self, other: &QoSReliabilityPolicy) -> 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 QoSReliabilityPolicy
impl PartialEq for QoSReliabilityPolicy
Source§impl PartialOrd for QoSReliabilityPolicy
impl PartialOrd for QoSReliabilityPolicy
impl Copy for QoSReliabilityPolicy
impl Eq for QoSReliabilityPolicy
impl StructuralPartialEq for QoSReliabilityPolicy
Auto Trait Implementations§
impl Freeze for QoSReliabilityPolicy
impl RefUnwindSafe for QoSReliabilityPolicy
impl Send for QoSReliabilityPolicy
impl Sync for QoSReliabilityPolicy
impl Unpin for QoSReliabilityPolicy
impl UnwindSafe for QoSReliabilityPolicy
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