Module proto

Module proto 

Source
Expand description

P2P protocols

Macros§

impl_resource_msg 🔒

Structs§

FudAnnounce
Message representing a node announcing a key on the network
FudChunkNotFound
Message representing a reply when a chunk is not found
FudChunkReply
Message representing a chunk reply from the network
FudChunkRequest
Message representing a find chunk request from the network
FudDirectoryReply
Message representing a directory reply from the network
FudFileReply
Message representing a file reply from the network
FudMetadataNotFound
Message representing a reply when a metadata is not found
FudMetadataRequest
Message representing a find file/directory request from the network
FudNodesReply
Message representing a find nodes reply on the network
FudNodesRequest
Message representing a find nodes request on the network
FudPingReply
Message representing a ping reply on the network
FudPingRequest
Message representing a ping request on the network
FudSeedersReply
Message representing a find seeders reply on the network
FudSeedersRequest
Message representing a find seeders request on the network
ProtocolFud
P2P protocol implementation for fud.

Traits§

ResourceMessage
Trait for resource-specific messages. Adds a method to get the resource’s hash from the message.