Module bip_peer::messages [] [src]

Serializable and deserializable protocol messages.

Modules

builders

Builder types for protocol messages.

Structs

BitFieldIter

Iterator for a BitFieldMessage to HaveMessages.

BitFieldMessage

Message for notifying a peer of all of the pieces you have.

CancelMessage

Message for cancelling a RequestMessage sent to a peer.

ExtendedMessage

Message for notifying peers of extensions we support.

HaveMessage

Message for notifying a peer of a piece that you have.

PieceMessage

Message for sending a block to a peer.

PortMessage

Message for notifying a peer of our DHT port.

RequestMessage

Message for requesting a block from a peer.

UtMetadataDataMessage

Message for sending a piece of metadata from a peer.

UtMetadataRejectMessage

Message for rejecting a request for metadata from a peer.

UtMetadataRequestMessage

Message for requesting a piece of metadata from a peer.

Enums

BitsExtensionMessage

Enumeration of messages for PeerWireProtocolMessage, activated via Extensions bits.

ExtendedType

Enumeration of extended types activated via ExtendedMessage.

NullProtocolMessage

Enumeration of messages for NullProtocol.

PeerExtensionProtocolMessage

Enumeration of BEP 10 extension protocol compatible messages.

PeerWireProtocolMessage

Enumeration of messages for PeerWireProtocol.

UtMetadataMessage

Enumeration of messages for PeerExtensionProtocolMessage::UtMetadata.