Module events

Source
Expand description

API related to listening for network events.

Structs§

PeerEventStream
A boxed stream of network peer events that provides a type-erased interface.
PeerRequestSender
A Cloneable connection for sending requests directly to the session of a peer.
SessionInfo
Represents information about an established peer session.

Enums§

DiscoveredEvent
Represents events related to peer discovery in the network.
DiscoveryEvent
Events produced by the Discovery manager.
NetworkEvent
(Non-exhaustive) Network events representing peer lifecycle events and session requests.
PeerEvent
(Non-exhaustive) List of the different events emitted by the network that are of interest for subscribers.
PeerRequest
Protocol related request messages that expect a response

Traits§

NetworkEventListenerProvider
Provides event subscription for the network.
NetworkPeersEvents
Provides peer event subscription for the network.