Struct secret_handshake::OwningClientHandshaker [] [src]

pub struct OwningClientHandshaker<S> { /* fields omitted */ }

Performs the client side of a handshake. This copies the keys so that it isn't constrainted by their lifetime.

Methods

impl<S: AsyncRead + AsyncWrite> OwningClientHandshaker<S>
[src]

[src]

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

Trait Implementations

impl<S: AsyncRead + AsyncWrite> Future for OwningClientHandshaker<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<S> !Send for OwningClientHandshaker<S>

impl<S> !Sync for OwningClientHandshaker<S>