pub enum InstrumentationMode {
Off,
On,
}Expand description
Whether instrumentation markers were active during a run.
Variants§
Trait Implementations§
Source§impl Clone for InstrumentationMode
impl Clone for InstrumentationMode
Source§fn clone(&self) -> InstrumentationMode
fn clone(&self) -> InstrumentationMode
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 InstrumentationMode
Source§impl Debug for InstrumentationMode
impl Debug for InstrumentationMode
Source§impl<'de> Deserialize<'de> for InstrumentationMode
impl<'de> Deserialize<'de> for InstrumentationMode
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 InstrumentationMode
Source§impl PartialEq for InstrumentationMode
impl PartialEq for InstrumentationMode
Source§fn eq(&self, other: &InstrumentationMode) -> bool
fn eq(&self, other: &InstrumentationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstrumentationMode
impl Serialize for InstrumentationMode
impl StructuralPartialEq for InstrumentationMode
Auto Trait Implementations§
impl Freeze for InstrumentationMode
impl RefUnwindSafe for InstrumentationMode
impl Send for InstrumentationMode
impl Sync for InstrumentationMode
impl Unpin for InstrumentationMode
impl UnsafeUnpin for InstrumentationMode
impl UnwindSafe for InstrumentationMode
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