MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / from

Method from

src/system/os.rs:69–74  ·  view source on GitHub ↗
(os: SupportedOs)

Source from the content-addressed store, hash-verified

67
68impl From<SupportedOs> for SupportedOsSerde {
69 fn from(os: SupportedOs) -> Self {
70 SupportedOsSerde {
71 os: os.id().to_string(),
72 os_version: os.version().to_string(),
73 }
74 }
75}
76
77/// Linux distribution, identified by the `sysinfo` distribution id.

Callers

nothing calls this directly

Calls 2

idMethod · 0.80
versionMethod · 0.80

Tested by

no test coverage detected