pub enum History {
KeepLast(usize),
KeepAll,
}Expand description
The HISTORY of a writer or a reader (DDS 1.4, 2.2.3.18): how many samples it keeps.
The depth applies to each instance.
Variants§
KeepLast(usize)
Keep the latest n samples (at least 1).
KeepAll
Keep every sample: a reader until it is taken, a reliable writer until every reader has acknowledged it.
Trait Implementations§
impl Copy for History
impl Eq for History
impl StructuralPartialEq for History
Auto Trait Implementations§
impl Forget for History
impl Freeze for History
impl Move for History
impl RefUnwindSafe for History
impl Send for History
impl Sync for History
impl Unpin for History
impl UnsafeUnpin for History
impl UnwindSafe for History
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