pub trait RouteHandler:
Send
+ Sync
+ 'static {
// Required method
fn call(
&self,
request: BootRequest,
) -> BoxFuture<'static, Result<BootResponse>>;
}Expand description
Type-erased route handler used by adapters.
Required Methods§
fn call(&self, request: BootRequest) -> BoxFuture<'static, Result<BootResponse>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".