pub enum ProfileLevel {
Basic,
Medium,
Full,
ExecutionOnly,
}
Expand description
Control the amount of info being display when profiling.
Variants§
Basic
Provide only the summary information about kernels being run.
Medium
Provide the summary information about kernels being run with their trace.
Full
Provide more information about kernels being run.
ExecutionOnly
Only the execution are logged.
Trait Implementations§
Source§impl Clone for ProfileLevel
impl Clone for ProfileLevel
Source§fn clone(&self) -> ProfileLevel
fn clone(&self) -> ProfileLevel
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 ProfileLevel
impl Debug for ProfileLevel
impl Copy for ProfileLevel
Auto Trait Implementations§
impl Freeze for ProfileLevel
impl RefUnwindSafe for ProfileLevel
impl Send for ProfileLevel
impl Sync for ProfileLevel
impl Unpin for ProfileLevel
impl UnwindSafe for ProfileLevel
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