Enum tracing_chrome::TraceStyle
source · pub enum TraceStyle {
Threaded,
Async,
}
Expand description
Decides how traces will be recorded.
Variants§
Threaded
Traces will be recorded as a group of threads. In this style, spans should be entered and exited on the same thread.
Async
Traces will recorded as a group of asynchronous operations.
Trait Implementations§
source§impl Default for TraceStyle
impl Default for TraceStyle
source§fn default() -> TraceStyle
fn default() -> TraceStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceStyle
impl RefUnwindSafe for TraceStyle
impl Send for TraceStyle
impl Sync for TraceStyle
impl Unpin for TraceStyle
impl UnwindSafe for TraceStyle
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