Trait tonic::server::UnaryService [−][src]
A specialization of tower_service::Service.
Existing tower_service::Service implementations with the correct form will
automatically implement UnaryService
.
Associated Types
type Response
[src]
Protobuf response message type
type Future: Future<Output = Result<Response<Self::Response>, Status>>
[src]
Response future
Required methods
Loading content...Implementors
impl<T, M1, M2> UnaryService<M1> for T where
T: Service<Request<M1>, Response = Response<M2>, Error = Status>,
[src]
T: Service<Request<M1>, Response = Response<M2>, Error = Status>,