pub trait HttpOption<'a, R, B>: HandlerOption {
type RequestHandler: RequestHandler<B>;
// Required method
fn request_handler(options: Self::Options) -> Self::RequestHandler;
}Expand description
A trait that shows the implementing type is able to create http::RequestHandlers
Required Associated Types§
type RequestHandler: RequestHandler<B>
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".
Implementors§
Source§impl<'a, R, B> HttpOption<'a, R, B> for BinanceOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature binance only.
impl<'a, R, B> HttpOption<'a, R, B> for BinanceOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature
binance only.type RequestHandler = BinanceRequestHandler<'a, R>
Source§impl<'a, R, B> HttpOption<'a, R, B> for BitFlyerOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature bitflyer only.
impl<'a, R, B> HttpOption<'a, R, B> for BitFlyerOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature
bitflyer only.type RequestHandler = BitFlyerRequestHandler<'a, R>
Source§impl<'a, R, B> HttpOption<'a, R, B> for BybitOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature bybit only.
impl<'a, R, B> HttpOption<'a, R, B> for BybitOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature
bybit only.type RequestHandler = BybitRequestHandler<'a, R>
Source§impl<'a, R, B> HttpOption<'a, R, B> for CoincheckOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature coincheck only.
impl<'a, R, B> HttpOption<'a, R, B> for CoincheckOptionwhere
R: DeserializeOwned + 'a,
B: Serialize,
Available on crate feature
coincheck only.