The distro/OS id as it appears on the wire (matches `sysinfo::System::distribution_id()`).
(&self)
| 37 | |
| 38 | /// The distro/OS id as it appears on the wire (matches `sysinfo::System::distribution_id()`). |
| 39 | pub fn id(&self) -> &str { |
| 40 | match self { |
| 41 | Self::Linux(distro) => distro.id(), |
| 42 | Self::Macos { .. } => "macos", |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | pub fn version(&self) -> &str { |
| 47 | match self { |
no outgoing calls