Struct timespec

struct timespec { ... }

Fields

tv_sec: __kernel_old_time_t
tv_nsec: c_long

Implementations

impl Clone for timespec

fn clone(self: &Self) -> timespec

impl Copy for timespec

impl Debug for timespec

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

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

impl<T> Any for timespec

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for timespec

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for timespec

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for timespec

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for timespec

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for timespec

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for timespec

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for timespec

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>