Struct tonic_build::manual::Service

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

A service descriptor.

Implementations§

Create a new ServiceBuilder

Trait Implementations§

Formats the value using the given formatter. Read more
Comment type.
Method type.
Name of service.
Package name of service.
Identifier used to generate type name.
Methods provided by service.
Get comments about this item.

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.