pub struct InitStepSlewConfig {
pub threshold: f64,
pub hostnames: Vec<String>,
}Expand description
Configuration for the initstepslew directive.
Specifies a threshold and a list of hostnames to step the clock at chrony startup if the offset exceeds the threshold.
Fields§
§threshold: f64§hostnames: Vec<String>Trait Implementations§
Source§impl Clone for InitStepSlewConfig
impl Clone for InitStepSlewConfig
Source§fn clone(&self) -> InitStepSlewConfig
fn clone(&self) -> InitStepSlewConfig
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 moreSource§impl Debug for InitStepSlewConfig
impl Debug for InitStepSlewConfig
Source§impl PartialEq for InitStepSlewConfig
impl PartialEq for InitStepSlewConfig
Source§fn eq(&self, other: &InitStepSlewConfig) -> bool
fn eq(&self, other: &InitStepSlewConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InitStepSlewConfig
Auto Trait Implementations§
impl Freeze for InitStepSlewConfig
impl RefUnwindSafe for InitStepSlewConfig
impl Send for InitStepSlewConfig
impl Sync for InitStepSlewConfig
impl Unpin for InitStepSlewConfig
impl UnsafeUnpin for InitStepSlewConfig
impl UnwindSafe for InitStepSlewConfig
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