Module peer

Module peer 

Source
Expand description

Defines where to connect to and how to connect to a remote server

Structs§

BasicPeer
A simple TCP or TLS peer without many complicated settings.
HttpPeer
A peer representing the remote HTTP server to connect to
PeerOptions
The preferences to connect to a remote server
Proxy
The proxy settings to connect to the remote server, CONNECT only for now
Tracer
An object-safe version of Tracing object that can use Clone

Enums§

ALPN
The protocol for Application-Layer Protocol Negotiation
Scheme
Define whether to connect via http or https

Traits§

Peer
Peer defines the interface to communicate with the crate::connectors regarding where to connect to and how to connect to it.
Tracing
The interface to trace the connection