Struct tonic_build::manual::Method

source ·
pub struct Method { /* private fields */ }
Expand description

A service method descriptor.

Implementations§

Create a new MethodBuilder

Trait Implementations§

Formats the value using the given formatter. Read more
Comment type.
Name of method.
Identifier used to generate type name.
Path to the codec.
Method is streamed by client.
Method is streamed by server.
Get comments about this item.
Type name of request and response.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.