(self)
| 69 | |
| 70 | impl ServerKind { |
| 71 | pub fn as_str(self) -> &'static str { |
| 72 | match self { |
| 73 | Self::LaunchAgent => "launchAgent", |
| 74 | Self::Workspace => "workspace", |
| 75 | Self::Foreground => "foreground", |
| 76 | Self::Standalone => "standalone", |
| 77 | } |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | fn local_host_name() -> String { |
no outgoing calls