Trait axum_codec::handler::CodecHandler
source · 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§
Object Safety§
This trait is not object safe.