pub struct SetSensitiveRequestHeadersLayer { /* private fields */ }
This is supported on crate feature
sensitive-headers
only.Expand description
Mark request headers as sensitive.
Produces SetSensitiveRequestHeaders
services.
See the module docs for more details.
Implementations
Create a new SetSensitiveRequestHeadersLayer
.
Create a new SetSensitiveRequestHeadersLayer
from a shared slice of headers.
Trait Implementations
Auto Trait Implementations
impl Send for SetSensitiveRequestHeadersLayer
impl Sync for SetSensitiveRequestHeadersLayer
impl Unpin for SetSensitiveRequestHeadersLayer
Blanket Implementations
Mutably borrows from an owned value. Read more
This is supported on crate feature
follow-redirect
only.Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more