pub enum ProfilingMode {
Timing,
Alloc,
}Expand description
Profiling mode indicating what type of measurements were collected.
This enum identifies which profiling feature was active when measurements were collected. It’s included in JSON output to help interpret the metrics.
§Variants
Timing- Time-based profiling (execution duration)Alloc- Combined allocation profiling (both bytes and count)
Variants§
Trait Implementations§
Source§impl Clone for ProfilingMode
impl Clone for ProfilingMode
Source§fn clone(&self) -> ProfilingMode
fn clone(&self) -> ProfilingMode
Returns a duplicate 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 ProfilingMode
impl Debug for ProfilingMode
Source§impl<'de> Deserialize<'de> for ProfilingMode
impl<'de> Deserialize<'de> for ProfilingMode
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
Source§impl Display for ProfilingMode
impl Display for ProfilingMode
Auto Trait Implementations§
impl Freeze for ProfilingMode
impl RefUnwindSafe for ProfilingMode
impl Send for ProfilingMode
impl Sync for ProfilingMode
impl Unpin for ProfilingMode
impl UnwindSafe for ProfilingMode
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