Struct libresolv_sys::timespec [] [src]

pub struct timespec {
    pub tv_sec: __time_t,
    pub tv_nsec: __syscall_slong_t,
}

Fields

tv_sec: __time_t tv_nsec: __syscall_slong_t

Trait Implementations

impl Clone for timespec
[src]

fn clone(&self) -> timespec

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for timespec
[src]

impl Debug for timespec
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for timespec
[src]

fn default() -> Self

Returns the "default value" for a type. Read more