[][src]Trait client::pb::server::ReconnectService

pub trait ReconnectService: Clone {
    type StartFuture: Future<Item = Response<Empty>, Error = Status>;
    type StopFuture: Future<Item = Response<ReconnectInfo>, Error = Status>;
    fn start(&mut self, request: Request<ReconnectParams>) -> Self::StartFuture;
fn stop(&mut self, request: Request<Empty>) -> Self::StopFuture; }

A service used to control reconnect server.

Associated Types

type StartFuture: Future<Item = Response<Empty>, Error = Status>

type StopFuture: Future<Item = Response<ReconnectInfo>, Error = Status>

Loading content...

Required methods

fn start(&mut self, request: Request<ReconnectParams>) -> Self::StartFuture

fn stop(&mut self, request: Request<Empty>) -> Self::StopFuture

Loading content...

Implementors

Loading content...