Enum grpcio_sys::gpr_clock_type [−][src]
#[repr(u32)]
pub enum gpr_clock_type {
GPR_CLOCK_MONOTONIC,
GPR_CLOCK_REALTIME,
GPR_CLOCK_PRECISE,
GPR_TIMESPAN,
}
Expand description
The clocks we support.
Variants
Monotonic clock. Epoch undefined. Always moves forwards.
Realtime clock. May jump forwards or backwards. Settable by the system administrator. Has its epoch at 0:00:00 UTC 1 Jan 1970.
CPU cycle time obtained by rdtsc instruction on x86 platforms. Epoch undefined. Degrades to GPR_CLOCK_REALTIME on other platforms.
Unmeasurable clock type: no base, created by taking the difference between two times
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for gpr_clock_type
impl Send for gpr_clock_type
impl Sync for gpr_clock_type
impl Unpin for gpr_clock_type
impl UnwindSafe for gpr_clock_type
Blanket Implementations
Mutably borrows from an owned value. Read more