pub struct LearningFreqTscBuilder<T: NativeTime> { /* private fields */ }Implementations§
Source§impl<T: NativeTime> LearningFreqTscBuilder<T>
impl<T: NativeTime> LearningFreqTscBuilder<T>
pub fn new() -> Self
pub fn set_initial_frequency(self, freq: Freq) -> Self
pub fn initial_frequency(&self) -> &Option<Freq>
pub fn set_max_acceptable_drift(self, error: Duration) -> Self
pub fn max_acceptable_drift(&self) -> &Duration
pub fn set_max_sync_interval(self, interval: Duration) -> Self
pub fn max_sync_interval(&self) -> &Duration
pub fn set_frequency_learning_period(self, period: Duration) -> Self
pub fn frequency_learning_period(&self) -> Duration
Trait Implementations§
Source§impl<T: NativeTime> TscBuilder<T> for LearningFreqTscBuilder<T>
impl<T: NativeTime> TscBuilder<T> for LearningFreqTscBuilder<T>
Auto Trait Implementations§
impl<T> !Freeze for LearningFreqTscBuilder<T>
impl<T> !RefUnwindSafe for LearningFreqTscBuilder<T>
impl<T> Send for LearningFreqTscBuilder<T>where
T: Send,
impl<T> Sync for LearningFreqTscBuilder<T>
impl<T> Unpin for LearningFreqTscBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for LearningFreqTscBuilder<T>where
T: UnwindSafe,
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