pub struct PredictiveConfig {
pub fallback_divisor: u64,
}Expand description
Minimal predictive strategy config used by TickStrategyKind.
Full predictive tuning fields are added by follow-up tasks.
Fields§
§fallback_divisor: u64Fallback divisor when no predictive signal is available.
Implementations§
Trait Implementations§
Source§impl Clone for PredictiveConfig
impl Clone for PredictiveConfig
Source§fn clone(&self) -> PredictiveConfig
fn clone(&self) -> PredictiveConfig
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 PredictiveConfig
Source§impl Debug for PredictiveConfig
impl Debug for PredictiveConfig
Source§impl Default for PredictiveConfig
impl Default for PredictiveConfig
impl Eq for PredictiveConfig
Source§impl PartialEq for PredictiveConfig
impl PartialEq for PredictiveConfig
Source§fn eq(&self, other: &PredictiveConfig) -> bool
fn eq(&self, other: &PredictiveConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PredictiveConfig
Auto Trait Implementations§
impl Freeze for PredictiveConfig
impl RefUnwindSafe for PredictiveConfig
impl Send for PredictiveConfig
impl Sync for PredictiveConfig
impl Unpin for PredictiveConfig
impl UnsafeUnpin for PredictiveConfig
impl UnwindSafe for PredictiveConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.