Struct nc::types::kernel_timex_t
source · #[repr(C)]pub struct kernel_timex_t {Show 20 fields
pub modes: u32,
pub offset: i64,
pub freq: i64,
pub maxerror: i64,
pub esterror: i64,
pub status: i32,
pub constant: i64,
pub precision: i64,
pub tolerance: i64,
pub time: kernel_timex_timeval_t,
pub tick: i64,
pub ppsfreq: i64,
pub jitter: i64,
pub shift: i32,
pub stabil: i64,
pub jitcnt: i64,
pub calcnt: i64,
pub errcnt: i64,
pub stbcnt: i64,
pub tail: i32,
/* private fields */
}
Fields§
§modes: u32
mode selector
offset: i64
time offset (usec)
freq: i64
frequency offset (scaled ppm)
maxerror: i64
maximum error (usec)
esterror: i64
estimated error (usec)
status: i32
clock command/status
constant: i64
pll time constant
precision: i64
clock precision (usec) (read only)
tolerance: i64
clock frequency tolerance (ppm) (read only)
time: kernel_timex_timeval_t
(read only, except for ADJ_SETOFFSET)
tick: i64
(modified) usecs between clock ticks
ppsfreq: i64
pps frequency (scaled ppm) (ro)
jitter: i64
pps jitter (us) (ro)
shift: i32
interval duration (s) (shift) (ro)
stabil: i64
pps stability (scaled ppm) (ro)
jitcnt: i64
jitter limit exceeded (ro)
calcnt: i64
calibration intervals (ro)
errcnt: i64
calibration errors (ro)
stbcnt: i64
stability limit exceeded (ro)
tail: i32
TAI offset (ro)
Trait Implementations§
source§impl Clone for kernel_timex_t
impl Clone for kernel_timex_t
source§fn clone(&self) -> kernel_timex_t
fn clone(&self) -> kernel_timex_t
Returns a copy of the value. Read more
1.0.0 · 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 kernel_timex_t
impl Debug for kernel_timex_t
source§impl Default for kernel_timex_t
impl Default for kernel_timex_t
source§fn default() -> kernel_timex_t
fn default() -> kernel_timex_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for kernel_timex_t
impl RefUnwindSafe for kernel_timex_t
impl Send for kernel_timex_t
impl Sync for kernel_timex_t
impl Unpin for kernel_timex_t
impl UnwindSafe for kernel_timex_t
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