Trait rama::http::service::web::EndpointServiceFn
pub trait EndpointServiceFn<S, T>: Sealed<S, T> + Clone + Send + Sync + 'static {
// Required method
fn call(
&self,
ctx: Context<S>,
req: Request<Body>,
) -> impl Future<Output = Response<Body>> + Send;
}
Expand description
rama_core::Service
implemented for functions taking extractors.
Required Methods§
Object Safety§
This trait is not object safe.