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

pub trait UnimplementedService: Clone {
    type UnimplementedCallFuture: Future<Item = Response<Empty>, Error = Status>;
    fn unimplemented_call(
        &mut self,
        request: Request<Empty>
    ) -> Self::UnimplementedCallFuture; }

A simple service NOT implemented at servers so clients can test for that case.

Associated Types

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

Loading content...

Required methods

fn unimplemented_call(
    &mut self,
    request: Request<Empty>
) -> Self::UnimplementedCallFuture

A call that no server should implement

Loading content...

Implementors

Loading content...