pub enum HistoryKind {
KeepAll,
KeepLast {
depth: usize,
},
}Expand description
History-QoS (DDSI-RTPS §8.7.4, Spec Table 17).
Variants§
KeepAll
Cache ist hart begrenzt; bei Overflow liefert insert einen
CapacityExceeded-Fehler. Nuetzlich fuer No-Loss-Szenarien, in
denen der Writer eher blockieren als Daten verwerfen will
(Dateitransfer, Logging).
KeepLast
Cache haelt maximal depth neueste Samples. Bei Overflow faellt
automatisch das aelteste Sample raus — Writer-insert
schlaegt nie wegen Kapazitaet fehl. Spec-Default fuer DDS.
Trait Implementations§
Source§impl Clone for HistoryKind
impl Clone for HistoryKind
Source§fn clone(&self) -> HistoryKind
fn clone(&self) -> HistoryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HistoryKind
impl Debug for HistoryKind
Source§impl PartialEq for HistoryKind
impl PartialEq for HistoryKind
Source§fn eq(&self, other: &HistoryKind) -> bool
fn eq(&self, other: &HistoryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HistoryKind
impl Eq for HistoryKind
impl StructuralPartialEq for HistoryKind
Auto Trait Implementations§
impl Freeze for HistoryKind
impl RefUnwindSafe for HistoryKind
impl Send for HistoryKind
impl Sync for HistoryKind
impl Unpin for HistoryKind
impl UnsafeUnpin for HistoryKind
impl UnwindSafe for HistoryKind
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