Struct tower_http::compression::predicate::NotForContentType
source · [−]pub struct NotForContentType(_);This is supported on crate features
compression-br or compression-deflate or compression-gzip only.Expand description
Predicate that wont allow responses with a specific content-type to be compressed.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NotForContentType
impl Send for NotForContentType
impl Sync for NotForContentType
impl Unpin for NotForContentType
impl UnwindSafe for NotForContentType
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