pub enum EnableTimeDomain {
TimeTicks,
ThreadTicks,
}
Expand description
Time domain to use for collecting and reporting duration metrics.
Variants§
TimeTicks
Use monotonically increasing abstract time (default).
ThreadTicks
Use thread running time.
Trait Implementations§
source§impl AsRef<str> for EnableTimeDomain
impl AsRef<str> for EnableTimeDomain
source§impl Clone for EnableTimeDomain
impl Clone for EnableTimeDomain
source§fn clone(&self) -> EnableTimeDomain
fn clone(&self) -> EnableTimeDomain
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnableTimeDomain
impl Debug for EnableTimeDomain
source§impl<'de> Deserialize<'de> for EnableTimeDomain
impl<'de> Deserialize<'de> for EnableTimeDomain
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EnableTimeDomain, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EnableTimeDomain, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for EnableTimeDomain
impl FromStr for EnableTimeDomain
source§impl Hash for EnableTimeDomain
impl Hash for EnableTimeDomain
source§impl PartialEq for EnableTimeDomain
impl PartialEq for EnableTimeDomain
source§fn eq(&self, other: &EnableTimeDomain) -> bool
fn eq(&self, other: &EnableTimeDomain) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EnableTimeDomain
impl Serialize for EnableTimeDomain
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for EnableTimeDomain
impl StructuralPartialEq for EnableTimeDomain
Auto Trait Implementations§
impl Freeze for EnableTimeDomain
impl RefUnwindSafe for EnableTimeDomain
impl Send for EnableTimeDomain
impl Sync for EnableTimeDomain
impl Unpin for EnableTimeDomain
impl UnwindSafe for EnableTimeDomain
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more