Struct timespec

#[repr(C)]
pub struct timespec { pub tv_sec: time_t, pub tv_nsec: c_long }

Fields

tv_sec: time_t
tv_nsec: c_long

Trait Implementations

impl Clone for timespec

fn clone(&self) -> Self

impl Copy for timespec

impl Debug for timespec

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for timespec

fn default() -> Self

impl Eq for timespec

impl Hash for timespec

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for timespec

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for timespec

Auto Trait Implementations

impl Freeze 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

impl<T> Any for timespec where T: 'static + ?Sized,

impl<T> Borrow<T> for timespec where T: ?Sized,

impl<T> BorrowMut<T> for timespec where T: ?Sized,

impl<T> CloneToUninit for timespec where T: Clone,

impl<T> From<T> for timespec

impl<T, U> Into<U> for timespec where U: From<T>,

impl<T, U> TryFrom<U> for timespec where U: Into<T>,

impl<T, U> TryInto<U> for timespec where U: TryFrom<T>,