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

Method as_str

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

Source from the content-addressed store, hash-verified

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

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