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

Method new

src/components/protocol_selector.rs:38–40  ·  view source on GitHub ↗
(selected: ProtocolType)

Source from the content-addressed store, hash-verified

36 selected: ProtocolType,
37 on_change: Option<OnProtocolChange>,
38}
39
40impl ProtocolSelector {
41 pub fn new(selected: ProtocolType) -> Self {
42 Self {
43 selected,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected