Enum rclrust::HistoryPolicy
source · [−]#[repr(u32)]
pub enum HistoryPolicy {
SystemDefault,
KeepLast,
KeepAll,
Unknown,
}
Expand description
QoS history enumerations describing how samples endure
Variants
SystemDefault
Implementation default for history policy
KeepLast
Only store up to a maximum number of samples, dropping oldest once max is exceeded
KeepAll
Store all samples, subject to resource limits
Unknown
History policy has not yet been set
Trait Implementations
sourceimpl Clone for RMWQoSHistoryPolicy
impl Clone for RMWQoSHistoryPolicy
sourcefn clone(&self) -> RMWQoSHistoryPolicy
fn clone(&self) -> RMWQoSHistoryPolicy
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 RMWQoSHistoryPolicy
impl Debug for RMWQoSHistoryPolicy
sourceimpl Hash for RMWQoSHistoryPolicy
impl Hash for RMWQoSHistoryPolicy
impl Copy for RMWQoSHistoryPolicy
impl Eq for RMWQoSHistoryPolicy
impl StructuralEq for RMWQoSHistoryPolicy
impl StructuralPartialEq for RMWQoSHistoryPolicy
Auto Trait Implementations
impl RefUnwindSafe for RMWQoSHistoryPolicy
impl Send for RMWQoSHistoryPolicy
impl Sync for RMWQoSHistoryPolicy
impl Unpin for RMWQoSHistoryPolicy
impl UnwindSafe for RMWQoSHistoryPolicy
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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more