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

Interface Endpoint

common/src/protocol.rs:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13pub use prost::Message as ProstMessage;
14
15pub trait Endpoint {
16 fn credentials(&self) -> String;
17 fn as_url(&self) -> String;
18}
19
20pub trait DefaultPort {
21 fn default_port(&self) -> Option<u16>;

Callers 1

newMethod · 0.85

Implementers 1

protocol.rscommon/src/protocol.rs

Calls

no outgoing calls

Tested by

no test coverage detected