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