Trait service_async::Service
source · pub trait Service<Request> {
type Response;
type Error;
// Required method
fn call(
&self,
req: Request
) -> impl Future<Output = Result<Self::Response, Self::Error>>;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.