pub struct ReaderDataLifecycle {
pub autopurge_nowriter_samples_delay: Duration,
pub autopurge_disposed_samples_delay: Duration,
}Expand description
Controls how the reader handles stale instance data after writers disappear.
Fields§
§autopurge_nowriter_samples_delay: DurationHow long samples for an instance are retained after all matching writers have gone away.
autopurge_disposed_samples_delay: DurationHow long samples for a disposed instance are retained before being purged from the reader cache.
Trait Implementations§
Source§impl Clone for ReaderDataLifecycle
impl Clone for ReaderDataLifecycle
Source§fn clone(&self) -> ReaderDataLifecycle
fn clone(&self) -> ReaderDataLifecycle
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 moreimpl Copy for ReaderDataLifecycle
Source§impl Debug for ReaderDataLifecycle
impl Debug for ReaderDataLifecycle
impl Eq for ReaderDataLifecycle
Source§impl PartialEq for ReaderDataLifecycle
impl PartialEq for ReaderDataLifecycle
Source§fn eq(&self, other: &ReaderDataLifecycle) -> bool
fn eq(&self, other: &ReaderDataLifecycle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReaderDataLifecycle
Auto Trait Implementations§
impl Freeze for ReaderDataLifecycle
impl RefUnwindSafe for ReaderDataLifecycle
impl Send for ReaderDataLifecycle
impl Sync for ReaderDataLifecycle
impl Unpin for ReaderDataLifecycle
impl UnsafeUnpin for ReaderDataLifecycle
impl UnwindSafe for ReaderDataLifecycle
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