(&self, f: &mut fmt::Formatter<'_>)
| 47 | |
| 48 | impl 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 | |
| 63 | pub trait TabWidget { |
nothing calls this directly
no outgoing calls
no test coverage detected