Struct bip_handshake::HandshakerSink [] [src]

pub struct HandshakerSink { /* fields omitted */ }

Sink portion of the Handshaker for initiating handshakes.

Trait Implementations

impl Clone for HandshakerSink
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl DiscoveryInfo for HandshakerSink
[src]

Retrieve our public port that we advertise to others.

Retrieve our PeerId that we advertise to others.

impl Sink for HandshakerSink
[src]

The type of value that the sink accepts.

The type of value produced by the sink when an error occurs.

Begin the process of sending a value to the sink. Read more

Flush all output from this sink, if necessary. Read more

A method to indicate that no more values will ever be pushed into this sink. Read more

Creates a new object which will produce a synchronous sink. Read more

Composes a function in front of the sink. Read more

Transforms the error returned by the sink.

Adds a fixed-size buffer to the current sink. Read more

A future that completes when the sink has finished processing all pending requests. Read more

A future that completes after the given item has been fully processed into the sink, including flushing. Read more

A future that completes after the given stream has been fully processed into the sink, including flushing. Read more

impl HandshakeFilters for HandshakerSink
[src]

Add the filter to the current set of filters.

Remove the filter from the current set of filters.

Clear all filters currently set.