Expand description
Provides an abstract network connection interface and multiple implementations
Modules§
- mock
- Fake network stack used in tests
Structs§
- Peer
Cert Store - TlsConfig
- TlsTcp
Connector - TCP connector with encryption and authentication
Traits§
- Connector
- Allows to connect to peers and to listen for incoming connections
Functions§
- dns_
sanitize - Sanitizes name as valid domain name
- parse_
host_ port - Parses the host and port from a url
Type Aliases§
- AnyConnector
- Owned
Connector
trait object - Connect
Result - Result of a connection opening future
- Connection
Listener - Owned trait object type for incoming connection listeners
- Shared
AnyConnector - Shared
Connector
trait object