(self)
| 47 | |
| 48 | impl DistroVersion { |
| 49 | fn as_str(self) -> &'static str { |
| 50 | match self { |
| 51 | DistroVersion::Ubuntu2204 => "22.04", |
| 52 | DistroVersion::Ubuntu2404 => "24.04", |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
no outgoing calls