#[non_exhaustive]pub struct ClockSync {
pub synchronized: bool,
pub max_error: Option<Duration>,
pub estimated_error: Option<Duration>,
}Expand description
Whether the system clock is kept in sync.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.synchronized: boolThe kernel believes the clock is disciplined.
max_error: Option<Duration>The kernel’s error bound.
estimated_error: Option<Duration>The kernel’s estimate.
Trait Implementations§
impl Copy for ClockSync
impl Eq for ClockSync
impl StructuralPartialEq for ClockSync
Auto Trait Implementations§
impl Forget for ClockSync
impl Freeze for ClockSync
impl RefUnwindSafe for ClockSync
impl Send for ClockSync
impl Sync for ClockSync
impl Unpin for ClockSync
impl UnsafeUnpin for ClockSync
impl UnwindSafe for ClockSync
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