pub trait MakeHeaderValueFn<B, A>:
Send
+ Sync
+ 'static {
// Required method
fn call(
&self,
req: Request<B>,
) -> impl Future<Output = (Request<B>, Option<HeaderValue>)> + Send + '_;
}Expand description
Functional version of MakeHeaderValue.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".