Enum ros2_client::ros2::policy::Reliability
source · pub enum Reliability {
BestEffort,
Reliable {
max_blocking_time: Duration,
},
}
Expand description
DDS 2.2.3.14 RELIABILITY
Variants§
Trait Implementations§
source§impl Clone for Reliability
impl Clone for Reliability
source§fn clone(&self) -> Reliability
fn clone(&self) -> Reliability
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 Reliability
impl Debug for Reliability
source§impl<'de> Deserialize<'de> for Reliability
impl<'de> Deserialize<'de> for Reliability
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Reliability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Reliability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Reliability
impl Hash for Reliability
source§impl Ord for Reliability
impl Ord for Reliability
source§fn cmp(&self, other: &Reliability) -> Ordering
fn cmp(&self, other: &Reliability) -> 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 Reliability
impl PartialEq for Reliability
source§fn eq(&self, other: &Reliability) -> bool
fn eq(&self, other: &Reliability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Reliability
impl PartialOrd for Reliability
source§fn partial_cmp(&self, other: &Reliability) -> Option<Ordering>
fn partial_cmp(&self, other: &Reliability) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Reliability
impl Serialize for Reliability
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Reliability
impl Eq for Reliability
impl StructuralEq for Reliability
impl StructuralPartialEq for Reliability
Auto Trait Implementations§
impl RefUnwindSafe for Reliability
impl Send for Reliability
impl Sync for Reliability
impl Unpin for Reliability
impl UnwindSafe for Reliability
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