pub enum StatsLevel {
Off,
Basic,
Full,
}Expand description
运行时统计级别。它只控制诊断记账,不改变调度与终止语义。
Variants§
Trait Implementations§
Source§impl Clone for StatsLevel
impl Clone for StatsLevel
Source§fn clone(&self) -> StatsLevel
fn clone(&self) -> StatsLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StatsLevel
Source§impl Debug for StatsLevel
impl Debug for StatsLevel
Source§impl Default for StatsLevel
impl Default for StatsLevel
Source§fn default() -> StatsLevel
fn default() -> StatsLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatsLevel
impl<'de> Deserialize<'de> for StatsLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StatsLevel
Source§impl PartialEq for StatsLevel
impl PartialEq for StatsLevel
impl StructuralPartialEq for StatsLevel
Auto Trait Implementations§
impl Freeze for StatsLevel
impl RefUnwindSafe for StatsLevel
impl Send for StatsLevel
impl Sync for StatsLevel
impl Unpin for StatsLevel
impl UnsafeUnpin for StatsLevel
impl UnwindSafe for StatsLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.