pub struct WwwAuthenticate<C: Challenge>(pub C);
Expand description
Tuple Fields
0: C
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = <C as TryIntoHeaderValue>::Error
type Error = <C as TryIntoHeaderValue>::Error
The type returned in the event of a conversion error.
Try to convert value to a HeaderValue.
Auto Trait Implementations
impl<C> RefUnwindSafe for WwwAuthenticate<C> where
C: RefUnwindSafe,
impl<C> Send for WwwAuthenticate<C>
impl<C> Sync for WwwAuthenticate<C>
impl<C> Unpin for WwwAuthenticate<C> where
C: Unpin,
impl<C> UnwindSafe for WwwAuthenticate<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Error = <T as TryIntoHeaderValue>::Error
pub fn try_into_pair(
self
) -> Result<(HeaderName, HeaderValue), <T as TryIntoHeaderPair>::Error>
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