Trait tonic::transport::NamedService[][src]

pub trait NamedService {
    const NAME: &'static str;
}
This is supported on crate feature transport only.
Expand description

A trait to provide a static reference to the service’s name. This is used for routing service’s within the router.

Associated Constants

The Service-Name as described here.

Implementations on Foreign Types

Implementors