Trait rama::http::layer::set_header::MakeHeaderValueFn
pub trait MakeHeaderValueFn<S, T, A>: Send + Sync + 'static {
// Required method
fn call(
&self,
ctx: Context<S>,
message: T,
) -> impl Future<Output = (Context<S>, T, Option<HeaderValue>)> + Send;
}
Expand description
Functional version of MakeHeaderValue
.
Required Methods§
Object Safety§
This trait is not object safe.