Trait Connected
trait Connected<T>: Clone + Send + Sync + 'static
Trait that connected IO resources implement and use to produce information about the connection.
The goal for this trait is to allow users to implement custom IO types that can still provide the same connection metadata.
See Router::into_make_service_with_connect_info for more details.
Required Methods
fn connect_info(stream: T) -> SelfCreate type holding information about the connection.
Implementors
impl<'a, L, F> Connected for <L as >::Addrimpl Connected for std::net::SocketAddrimpl Connected for SocketAddr