Struct bip_handshake::HandshakerConfig [] [src]

pub struct HandshakerConfig { /* fields omitted */ }

Configures the internals of a Handshaker.

Methods

impl HandshakerConfig
[src]

Sets the buffer size that the HandshakeSink uses internally to hold InitiateMessages before they are processed.

Gets the sink buffer size.

Sets the buffer size that Handshaker uses internally to store handshake connections before they are processed.

Gets the wait buffer size.

Sets the buffer size that HandshakeStream uses internally to store processed handshake connections before they are yielded.

Gets the done buffer size.

Sets the handshake timeout that Handshaker uses to make sure peers dont take too long to respond to us.

Gets the handshake timeout.

Trait Implementations

impl PartialEq for HandshakerConfig
[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 HandshakerConfig
[src]

impl Debug for HandshakerConfig
[src]

Formats the value using the given formatter.

impl Copy for HandshakerConfig
[src]

impl Clone for HandshakerConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for HandshakerConfig
[src]

Returns the "default value" for a type. Read more