Struct bip_handshake::InitiateMessage [] [src]

pub struct InitiateMessage { /* fields omitted */ }

Message used to initiate a handshake with the Handshaker.

Methods

impl InitiateMessage
[src]

Create a new InitiateMessage.

Protocol that we want to connect to the peer with.

Hash that we are interested in from the peer.

Address that we should connect to for the peer.

Break the InitiateMessage up into its parts.

Trait Implementations

impl PartialEq for InitiateMessage
[src]

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

This method tests for !=.

impl Eq for InitiateMessage
[src]

impl Debug for InitiateMessage
[src]

Formats the value using the given formatter.

impl Clone for InitiateMessage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more