Struct bip_peer::messages::PieceMessage [] [src]

pub struct PieceMessage { /* fields omitted */ }

Message for sending a block to a peer.

This message is shallow, meaning it contains the initial message data, but the actual block should be sent to the peer after sending this message.

Methods

impl PieceMessage
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for PieceMessage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PieceMessage
[src]

[src]

Formats the value using the given formatter.

impl Hash for PieceMessage
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for PieceMessage
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for PieceMessage
[src]