WARNING: This doesn't support generic types
()
| 16 | { |
| 17 | /// WARNING: This doesn't support generic types |
| 18 | fn name() -> &'static str { |
| 19 | std::any::type_name::<Self>().rsplit("::").next().unwrap() |
| 20 | } |
| 21 | |
| 22 | fn file_name(pid: Option<pid_t>) -> String { |
| 23 | if let Some(pid) = pid { |
nothing calls this directly
no test coverage detected