Module network

Module network 

Source

Modules§

handlers

Structs§

HelloMessage
Ephemeral signaling message exchanged over gossipsub to help peers discover each other’s dialable addresses without sending chat messages.
Multiaddr
A multiaddr string (dialable network address).
PeerId
A peer identifier string (e.g., a libp2p PeerId).
RequestId
An opaque request identifier returned by NetworkNode::send_message.
RoomId
Opaque room identifier. The application only sees strings. The network backend decides how to map a room name to a provider key.

Enums§

NetworkEvent
Events emitted by the network backend, translated from raw P2P events.

Traits§

NetworkNode
Trait implemented by every P2P backend.

Type Aliases§

NetworkResult
Result type for network operations.