MCPcopy Create free account
hub / github.com/ermak-dev/cloudpub / port

Method port

client/src/plugins/plugin_trait.rs:178–180  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

176 }
177
178 pub fn port(&self) -> Option<u16> {
179 self.server.read().as_ref().map(|s| s.port)
180 }
181
182 pub fn guid(&self) -> &str {
183 &self.guid

Callers 6

parseMethod · 0.80
run_control_channelMethod · 0.80
find_free_tcp_portFunction · 0.80
find_free_udp_portFunction · 0.80
socket_addr_to_protoFunction · 0.80
build_proxy_v2_headerFunction · 0.80

Calls 1

readMethod · 0.80

Tested by

no test coverage detected