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

Method as_str

src/binary_pins.rs:49–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47
48impl 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)]

Callers 15

urlMethod · 0.80
try_fromMethod · 0.80
test_try_from_push_mainFunction · 0.80
try_fromMethod · 0.80
try_fromMethod · 0.80
try_fromMethod · 0.80
startMethod · 0.80

Calls

no outgoing calls