pub struct WwwAuthenticate<C: Challenge>(pub C);
Expand description
Tuple Fields
0: C
Trait Implementations
sourceimpl<C: Clone + Challenge> Clone for WwwAuthenticate<C>
impl<C: Clone + Challenge> Clone for WwwAuthenticate<C>
sourcefn clone(&self) -> WwwAuthenticate<C>
fn clone(&self) -> WwwAuthenticate<C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<C: Debug + Challenge> Debug for WwwAuthenticate<C>
impl<C: Debug + Challenge> Debug for WwwAuthenticate<C>
sourceimpl<C: Default + Challenge> Default for WwwAuthenticate<C>
impl<C: Default + Challenge> Default for WwwAuthenticate<C>
sourcefn default() -> WwwAuthenticate<C>
fn default() -> WwwAuthenticate<C>
Returns the “default value” for a type. Read more
sourceimpl<C: Hash + Challenge> Hash for WwwAuthenticate<C>
impl<C: Hash + Challenge> Hash for WwwAuthenticate<C>
sourceimpl<C: Challenge> Header for WwwAuthenticate<C>
impl<C: Challenge> Header for WwwAuthenticate<C>
sourceimpl<C: Ord + Challenge> Ord for WwwAuthenticate<C>
impl<C: Ord + Challenge> Ord for WwwAuthenticate<C>
sourceimpl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> for WwwAuthenticate<C>
impl<C: PartialEq + Challenge> PartialEq<WwwAuthenticate<C>> for WwwAuthenticate<C>
sourcefn eq(&self, other: &WwwAuthenticate<C>) -> bool
fn eq(&self, other: &WwwAuthenticate<C>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WwwAuthenticate<C>) -> bool
fn ne(&self, other: &WwwAuthenticate<C>) -> bool
This method tests for !=
.
sourceimpl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>
impl<C: PartialOrd + Challenge> PartialOrd<WwwAuthenticate<C>> for WwwAuthenticate<C>
sourcefn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>
fn partial_cmp(&self, other: &WwwAuthenticate<C>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
impl<C: Challenge> TryIntoHeaderValue for WwwAuthenticate<C>
type Error = <C as TryIntoHeaderValue>::Error
type Error = <C as TryIntoHeaderValue>::Error
The type returned in the event of a conversion error.
sourcefn try_into_value(self) -> Result<HeaderValue, Self::Error>
fn try_into_value(self) -> Result<HeaderValue, Self::Error>
Try to convert value to a HeaderValue.
impl<C: Eq + Challenge> Eq for WwwAuthenticate<C>
impl<C: Challenge> StructuralEq for WwwAuthenticate<C>
impl<C: Challenge> StructuralPartialEq for WwwAuthenticate<C>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> TryIntoHeaderPair for T where
T: Header,
impl<T> TryIntoHeaderPair for T where
T: Header,
type Error = <T as TryIntoHeaderValue>::Error
fn try_into_pair(
self
) -> Result<(HeaderName, HeaderValue), <T as TryIntoHeaderPair>::Error>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more