pub enum CsrfExtractorError<Inner> {
InvalidToken,
Inner(Inner),
}
Expand description
Represents an error that occurs when polling CsrfExtractorFuture
.
Variants§
Trait Implementations§
Source§impl<Inner: Clone> Clone for CsrfExtractorError<Inner>
impl<Inner: Clone> Clone for CsrfExtractorError<Inner>
Source§fn clone(&self) -> CsrfExtractorError<Inner>
fn clone(&self) -> CsrfExtractorError<Inner>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Inner: Debug> Debug for CsrfExtractorError<Inner>
impl<Inner: Debug> Debug for CsrfExtractorError<Inner>
Source§impl<Inner> From<CsrfExtractorError<Inner>> for Errorwhere
Inner: Into<Self>,
impl<Inner> From<CsrfExtractorError<Inner>> for Errorwhere
Inner: Into<Self>,
Source§fn from(e: CsrfExtractorError<Inner>) -> Self
fn from(e: CsrfExtractorError<Inner>) -> Self
Converts to this type from the input type.
Source§impl<Inner: Hash> Hash for CsrfExtractorError<Inner>
impl<Inner: Hash> Hash for CsrfExtractorError<Inner>
Source§impl<Inner: Ord> Ord for CsrfExtractorError<Inner>
impl<Inner: Ord> Ord for CsrfExtractorError<Inner>
Source§fn cmp(&self, other: &CsrfExtractorError<Inner>) -> Ordering
fn cmp(&self, other: &CsrfExtractorError<Inner>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<Inner: PartialEq> PartialEq for CsrfExtractorError<Inner>
impl<Inner: PartialEq> PartialEq for CsrfExtractorError<Inner>
Source§impl<Inner: PartialOrd> PartialOrd for CsrfExtractorError<Inner>
impl<Inner: PartialOrd> PartialOrd for CsrfExtractorError<Inner>
impl<Inner: Copy> Copy for CsrfExtractorError<Inner>
impl<Inner: Eq> Eq for CsrfExtractorError<Inner>
impl<Inner> StructuralPartialEq for CsrfExtractorError<Inner>
Auto Trait Implementations§
impl<Inner> Freeze for CsrfExtractorError<Inner>where
Inner: Freeze,
impl<Inner> RefUnwindSafe for CsrfExtractorError<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for CsrfExtractorError<Inner>where
Inner: Send,
impl<Inner> Sync for CsrfExtractorError<Inner>where
Inner: Sync,
impl<Inner> Unpin for CsrfExtractorError<Inner>where
Inner: Unpin,
impl<Inner> UnwindSafe for CsrfExtractorError<Inner>where
Inner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.