Module handles

Source
Expand description

Connection Handles.

This module contains the ConnectionHandle which allows banning a peer, disconnecting a peer and checking if the peer is still connected.

Structsยง

BanPeer
A struct representing the time a peer should be banned for.
ConnectionGuard
A struct given to the connection task.
ConnectionHandle
A handle given to a task that needs to ban, disconnect, check if the peer should be banned or check the peer is still connected.
HandleBuilder
A ConnectionHandle builder.