[][src]Struct grpcio::Method

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>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]