pub struct SyncConfig {
pub max_error: CuDuration,
pub max_age: CuDuration,
pub drift_bound_ppb: u32,
pub max_slew_ppb: u32,
}Expand description
Error and correction bounds. All rates are parts per billion.
Fields§
§max_error: CuDurationMaximum usable timestamp uncertainty.
max_age: CuDurationMaximum age of an accepted reference measurement.
drift_bound_ppb: u32Relative oscillator error during holdover.
max_slew_ppb: u32Additional phase correction rate; must leave the total rate positive.
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for SyncConfig
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SyncConfig
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for SyncConfig
impl Clone for SyncConfig
impl Copy for SyncConfig
Source§impl Debug for SyncConfig
impl Debug for SyncConfig
Source§impl<__Context> Decode<__Context> for SyncConfig
impl<__Context> Decode<__Context> for SyncConfig
Source§impl<'de> Deserialize<'de> for SyncConfig
impl<'de> Deserialize<'de> for SyncConfig
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 Encode for SyncConfig
impl Encode for SyncConfig
impl Eq for SyncConfig
Source§impl PartialEq for SyncConfig
impl PartialEq for SyncConfig
Source§impl Serialize for SyncConfig
impl Serialize for SyncConfig
impl StructuralPartialEq for SyncConfig
Auto Trait Implementations§
impl Freeze for SyncConfig
impl RefUnwindSafe for SyncConfig
impl Send for SyncConfig
impl Sync for SyncConfig
impl Unpin for SyncConfig
impl UnsafeUnpin for SyncConfig
impl UnwindSafe for SyncConfig
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