Struct timeval

struct timeval { ... }

Fields

tv_sec: __kernel_old_time_t
tv_usec: __kernel_suseconds_t

Implementations

impl Clone for timeval

fn clone(self: &Self) -> timeval

impl Copy for timeval

impl Debug for timeval

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

impl Freeze for timeval

impl RefUnwindSafe for timeval

impl Send for timeval

impl Sync for timeval

impl Unpin for timeval

impl UnsafeUnpin for timeval

impl UnwindSafe for timeval

impl<T> Any for timeval

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for timeval

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

impl<T> BorrowMut for timeval

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

impl<T> CloneToUninit for timeval

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

impl<T> From for timeval

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for timeval

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 timeval

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

impl<T, U> TryInto for timeval

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