Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
125
pub struct HostPort<
'a>(&'
a Host, &'a Port);
126
127
// Implement ToSocketAddrs for the HostPort type
128
impl ToSocketAddrs for HostPort<'_> {
Callers
1
listen_address
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected