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

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

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

Associated Constants

const NAME: &'static str

This is supported on feature="transport" only.

The Service-Name as described here.

Loading content...

Implementors

Loading content...