MCPcopy Create free account
hub / github.com/bajrangCoder/setu / label

Method label

src/components/protocol_selector.rs:17–24  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

15}
16
17impl ProtocolType {
18 fn label(self) -> &'static str {
19 match self {
20 Self::Rest => "REST",
21 Self::WebSocket => "WebSocket",
22 Self::GraphQL => "GraphQL",
23 Self::Sse => "SSE",
24 }
25 }
26
27 fn is_available(self) -> bool {

Callers 7

renderMethod · 0.45
render_group_headerMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
render_empty_stateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected