Struct grpcio::Method[][src]

pub struct Method<Req, Resp> {
    pub ty: MethodType,
    pub name: &'static str,
    pub req_mar: Marshaller<Req>,
    pub resp_mar: Marshaller<Resp>,
}

A description of a remote method.

Fields

Type of method.

Full qualified name of the method.

The marshaller used for request messages.

The marshaller used for response messages.

Methods

impl<Req, Resp> Method<Req, Resp>
[src]

Get the request serializer.

Get the request deserializer.

Get the response serializer.

Get the response deserializer.

Auto Trait Implementations

impl<Req, Resp> Send for Method<Req, Resp>

impl<Req, Resp> Sync for Method<Req, Resp>