pub enum ProfilingMode {
Timing,
Alloc,
}Expand description
Profiling mode indicating what type of measurements were collected.
Variants§
Timing
Time-based profiling (execution duration)
Alloc
Combined allocation profiling (both bytes and count)
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 UnsafeUnpin 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