pub trait RpcHandlerStream<TMReq, TMRes, TUid, TState>:
Clone
+ Send
+ Sync
+ Sized
+ 'static {
type Future: Future<Output = Response> + Send + 'static;
// Required method
fn call(self, req: Request<Body>, state: TState) -> 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".