(self)
| 30 | |
| 31 | impl SessionKind { |
| 32 | fn as_dir_name(self) -> &'static str { |
| 33 | match self { |
| 34 | SessionKind::Mode => "codspeed_use_mode", |
| 35 | SessionKind::Profile => "codspeed_profile", |
| 36 | } |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | static SYSTEM: OnceLock<System> = OnceLock::new(); |