pub struct DecayWindow {
pub stale_after_ticks: u64,
pub next_refresh_within_ticks: u64,
}Expand description
Per-engine staleness and refresh window configuration.
stale_after_ticks is the number of ticks an observation may age before it
is dropped. next_refresh_within_ticks is the upper bound on how soon the
next engine tick should refresh derived tables.
Fields§
§stale_after_ticks: u64§next_refresh_within_ticks: u64Implementations§
Trait Implementations§
Source§impl Clone for DecayWindow
impl Clone for DecayWindow
Source§fn clone(&self) -> DecayWindow
fn clone(&self) -> DecayWindow
Returns a duplicate 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 DecayWindow
impl Debug for DecayWindow
Source§impl Default for DecayWindow
impl Default for DecayWindow
Source§impl<'de> Deserialize<'de> for DecayWindow
impl<'de> Deserialize<'de> for DecayWindow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecayWindow
impl PartialEq for DecayWindow
Source§impl Serialize for DecayWindow
impl Serialize for DecayWindow
impl Copy for DecayWindow
impl Eq for DecayWindow
impl StructuralPartialEq for DecayWindow
Auto Trait Implementations§
impl Freeze for DecayWindow
impl RefUnwindSafe for DecayWindow
impl Send for DecayWindow
impl Sync for DecayWindow
impl Unpin for DecayWindow
impl UnsafeUnpin for DecayWindow
impl UnwindSafe for DecayWindow
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