pub struct TypedHeaderRejection { /* private fields */ }
This is supported on crate feature
headers
only.Expand description
Rejection used for TypedHeader
.
Implementations
Name of the header that caused the rejection
Reason why the header extraction has failed
Trait Implementations
Create a response.
Auto Trait Implementations
impl RefUnwindSafe for TypedHeaderRejection
impl Send for TypedHeaderRejection
impl Sync for TypedHeaderRejection
impl Unpin for TypedHeaderRejection
impl UnwindSafe for TypedHeaderRejection
Blanket Implementations
Mutably borrows from an owned value. Read more
Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
pub fn vzip(self) -> V
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