Enum grpcio_sys::gpr_clock_type [−][src]
pub enum gpr_clock_type { GPR_CLOCK_MONOTONIC, GPR_CLOCK_REALTIME, GPR_CLOCK_PRECISE, GPR_TIMESPAN, }
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
impl Clone for gpr_clock_type
[src][+]
impl Copy for gpr_clock_type
[src]
impl Debug for gpr_clock_type
[src][+]
impl Eq for gpr_clock_type
[src]
impl Hash for gpr_clock_type
[src][+]
impl PartialEq<gpr_clock_type> for gpr_clock_type
[src][+]
impl StructuralEq for gpr_clock_type
[src]
impl StructuralPartialEq for gpr_clock_type
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,