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

pub trait NamedService {
    const NAME: &'static str;
}

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[src]

The Service-Name as described here.

Loading content...

Implementations on Foreign Types

impl<S: NamedService, T> NamedService for Either<S, T>[src]

Loading content...

Implementors

Loading content...