Trait MakeHeaderValueFactoryFn
pub trait MakeHeaderValueFactoryFn<ReqBody, ResBody, A>:
Send
+ Sync
+ 'static {
type Maker: MakeHeaderValue<ResBody>;
// Required method
fn call(
&self,
request: Request<ReqBody>,
) -> impl Future<Output = (Request<ReqBody>, Self::Maker)> + Send;
}Expand description
Functional version of MakeHeaderValue.
Required Associated Types§
type Maker: MakeHeaderValue<ResBody>
Required Methods§
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.