MCPcopy Create free account
hub / github.com/cosdata/cosdata / HostPort

Class HostPort

src/config_loader.rs:125–125  ·  view source on GitHub ↗

Custom type that wraps Host and Port

Source from the content-addressed store, hash-verified

123
124// Custom type that wraps Host and Port
125pub struct HostPort<'a>(&'a Host, &'a Port);
126
127// Implement ToSocketAddrs for the HostPort type
128impl ToSocketAddrs for HostPort<'_> {

Callers 1

listen_addressMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected