Struct grpcio_sys::GprTimespec[][src]

#[repr(C)]
pub struct GprTimespec { pub tv_sec: int64_t, pub tv_nsec: int32_t, pub clock_type: GprClockType, }

Analogous to struct timespec. On some machines, absolute times may be in local time.

Based on gpr_timespec.

Fields

Against which clock was this time measured? (or GprClockType::Timespan if this is a relative time measure)

Methods

impl GprTimespec
[src]

Trait Implementations

impl Clone for GprTimespec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GprTimespec
[src]

impl From<Duration> for GprTimespec
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for GprTimespec

impl Sync for GprTimespec