Struct libc::ntptimeval
source · #[repr(C)]pub struct ntptimeval {
pub time: timespec,
pub maxerror: c_long,
pub esterror: c_long,
pub tai: c_long,
pub time_state: c_int,
}
Fields§
§time: timespec
§maxerror: c_long
§esterror: c_long
§tai: c_long
§time_state: c_int
Trait Implementations§
source§impl Clone for ntptimeval
impl Clone for ntptimeval
source§fn clone(&self) -> ntptimeval
fn clone(&self) -> ntptimeval
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 moreimpl Copy for ntptimeval
Auto Trait Implementations§
impl RefUnwindSafe for ntptimeval
impl Send for ntptimeval
impl Sync for ntptimeval
impl Unpin for ntptimeval
impl UnwindSafe for ntptimeval
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