Struct secret_handshake::ServerHandshaker [] [src]

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

Performs the server side of a handshake.

Methods

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

[src]

Creates a new ServerHandshakerWithFilter to accept a connection from a client which knows the server's public key and uses the right app key over the given stream.

Trait Implementations

impl<'a, S: AsyncRead + AsyncWrite> Future for ServerHandshaker<'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 ServerHandshaker<'a, S>

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