Crate bip_peer [] [src]

Modules

error

PeerManager error types.

message

Serializable and deserializable protocol messages.

protocols

Implementations of PeerProtocol.

Structs

PeerInfo

Information that uniquely identifies a peer.

PeerManager

Manages a set of peers with heartbeating heartbeating.

PeerManagerBuilder

Builder for configuring a PeerManager.

PeerProtocolCodec

Codec operating over some PeerProtocol.

Enums

IPeerManagerMessage

Message that can be sent to the PeerManager.

OPeerManagerMessage

Message that can be received from the PeerManager.

Traits

ManagedMessage

Trait for giving PeerManager message information it needs.

PeerProtocol

Trait for implementing a bittorrent protocol message.

Type Definitions

MessageId

Identifier for matching sent messages with received messages.