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