Crate bip_peer [] [src]

Modules

error

PeerManager error types.

messages

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.

PeerManagerSink

Sink half of a PeerManager.

PeerManagerStream

Stream half of 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.

NestedPeerProtocol

Trait for nested peer protocols to see higher level peer protocol messages.

PeerProtocol

Trait for implementing a bittorrent protocol message.

Type Definitions

MessageId

Identifier for matching sent messages with received messages.