#[repr(C)]pub struct Timespec {
pub tv_sec: i64,
pub tv_nsec: i64,
}Expand description
Seconds and nanoseconds timestamp matching the 64-bit kernel struct timespec.
Fields§
§tv_sec: i64§tv_nsec: i64Trait Implementations§
impl Copy for Timespec
impl Eq for Timespec
impl StructuralPartialEq for Timespec
Auto Trait Implementations§
impl Forget for Timespec
impl Freeze for Timespec
impl Move for Timespec
impl RefUnwindSafe for Timespec
impl Send for Timespec
impl Sync for Timespec
impl Unpin for Timespec
impl UnsafeUnpin for Timespec
impl UnwindSafe for Timespec
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