pub enum Format {
Table,
Json,
JsonPretty,
None,
}Expand description
Output format for profiling reports.
This enum specifies how profiling results should be displayed when the program exits.
§Variants
Table- Human-readable table format (default)Json- JSON formatJsonPretty- Pretty-printed JSON formatNone- Suppress all profiling output (metrics server and MCP server still function)
§Parsing
Can be parsed from strings via HOTPATH_META_OUTPUT_FORMAT environment variable:
"table"→Format::Table"json"→Format::Json"json-pretty"→Format::JsonPretty"none"→Format::None
Variants§
Implementations§
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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