MCPcopy Create free account
hub / github.com/elastic/devfiler / fmt

Method fmt

src/ui/tabs/mod.rs:49–60  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

47
48impl fmt::Display for Tab {
49 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
50 f.write_str(match self {
51 Tab::FlameGraph => "Flamegraph",
52 Tab::FlameScope => "FlameScope",
53 Tab::TopFunctions => "Top functions",
54 Tab::Executables => "Executables",
55 Tab::Log => "Log",
56 Tab::TraceFreq => "Trace frequency",
57 Tab::DbStats => "DB Stats",
58 Tab::GrpcLog => "gRPC",
59 })
60 }
61}
62
63pub trait TabWidget {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected