pub struct SetSensitiveHeadersLayer { /* private fields */ }
This is supported on crate feature
sensitive-headers
only.Expand description
Mark headers as sensitive on both requests and responses.
Produces SetSensitiveHeaders
services.
See the module docs for more details.
Implementations
Create a new SetSensitiveHeadersLayer
.
Create a new SetSensitiveHeadersLayer
from a shared slice of headers.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetSensitiveHeadersLayer
impl Send for SetSensitiveHeadersLayer
impl Sync for SetSensitiveHeadersLayer
impl Unpin for SetSensitiveHeadersLayer
impl UnwindSafe for SetSensitiveHeadersLayer
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