MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / as_str

Method as_str

packages/server/src/simulators/state.rs:14–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12
13impl SessionState {
14 pub fn as_str(self) -> &'static str {
15 match self {
16 Self::Detached => "Detached",
17 Self::Attaching => "Attaching",
18 Self::Ready => "Ready",
19 Self::Streaming => "Streaming",
20 Self::Failed => "Failed",
21 Self::ShuttingDown => "ShuttingDown",
22 }
23 }
24}

Callers 15

ice_transport_policyFunction · 0.45
valueMethod · 0.45
parse_bool_valueFunction · 0.45
string_fieldFunction · 0.45
run_maestro_commandFunction · 0.45
maestro_command_nameFunction · 0.45
maestro_selectorFunction · 0.45
yaml_string_or_fieldFunction · 0.45
parse_hid_keyFunction · 0.45
parse_modifier_maskFunction · 0.45
http_requestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected