Struct grpcio_sys::GprTimespec
[−]
[src]
#[repr(C)]pub struct GprTimespec { pub tv_sec: int64_t, pub tv_nsec: int32_t, pub clock_type: GprClockType, }
Fields
tv_sec: int64_t
tv_nsec: int32_t
clock_type: GprClockType
Methods
impl GprTimespec
[src]
fn inf_future() -> GprTimespec
[src]
Trait Implementations
impl Clone for GprTimespec
[src]
fn clone(&self) -> GprTimespec
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for GprTimespec
[src]
impl From<Duration> for GprTimespec
[src]
fn from(dur: Duration) -> GprTimespec
[src]
Performs the conversion.