pub trait CodecHandler<T, I: Input, D, S>:
Clone
+ Send
+ 'static {
type Future: Future<Output = Response> + Send;
// Required method
fn call(self, req: Request, state: S) -> Self::Future;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".