#[repr(i32)]pub enum TraceMode {
TraceAll = 0,
UseRules = 1,
}
Expand description
Trace modes are tracing presets that are included in the system.
Variants§
TraceAll = 0
Preset mode for maximal tracing. WARNING: This will bypass all privacy measures on debuggable builds, and will record all input events processed by the system, regardless of the context in which they were processed. It should only be used for tracing on a local device or for tests. It should NEVER be used for field tracing.
UseRules = 1
Use the tracing rules defined in this config to specify what events to trace.
Implementations§
Trait Implementations§
Source§impl Ord for TraceMode
impl Ord for TraceMode
Source§impl PartialOrd for TraceMode
impl PartialOrd for TraceMode
impl Copy for TraceMode
impl Eq for TraceMode
impl StructuralPartialEq for TraceMode
Auto Trait Implementations§
impl Freeze for TraceMode
impl RefUnwindSafe for TraceMode
impl Send for TraceMode
impl Sync for TraceMode
impl Unpin for TraceMode
impl UnwindSafe for TraceMode
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