Trait libp2p_core::connection::IntoConnectionHandler[][src]

pub trait IntoConnectionHandler {
    type Handler: ConnectionHandler;
    fn into_handler(self, connected: &Connected) -> Self::Handler;
}
Expand description

Prototype for a ConnectionHandler.

Associated Types

The node handler.

Required methods

Builds the node handler.

The implementation is given a Connected value that holds information about the newly established connection for which a handler should be created.

Implementors