pub trait HttpOption<'a, R>: HandlerOption {
type RequestHandler;
// Required method
fn request_handler(options: Self::Options) -> Self::RequestHandler;
}
Expand description
A trait
that shows the implementing type is able to create [generic_api_client::http::RequestHandler]s
Required Associated Types§
type RequestHandler
Required Methods§
fn request_handler(options: Self::Options) -> Self::RequestHandler
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.