Struct secret_handshake::ClientHandshaker [] [src]

pub struct ClientHandshaker<'a, S>(_, _);

Performs the client side of a handshake.

Methods

impl<'a, S: AsyncRead + AsyncWrite> ClientHandshaker<'a, S>
[src]

[src]

Creates a new ClientHandshaker to connect to a server with known public key and app key over the given stream.

Trait Implementations

impl<'a, S: AsyncRead + AsyncWrite> Future for ClientHandshaker<'a, S>
[src]

Future implementation to asynchronously drive a handshake.

A successful value

An error

[src]

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<'a, S> !Send for ClientHandshaker<'a, S>

impl<'a, S> !Sync for ClientHandshaker<'a, S>