Enum backend::utils::auth::ValidToken [−][src]
Expand description
Message of token check
Parameter
ValidToken::Invalid
: Invalid tokenValidToken::Missing
: Missing tokenValidToken::DatabaseErr
: Database errorValidToken::Valid(id)
: Valid token, will provide uidValidToken::Refresh(id)
: Refresh token, will provide uid
Variants
Valid(i64)
Tuple Fields of Valid
0: i64
Refresh(i64)
Tuple Fields of Refresh
0: i64
Auto Trait Implementations
impl RefUnwindSafe for ValidToken
impl Send for ValidToken
impl Sync for ValidToken
impl Unpin for ValidToken
impl UnwindSafe for ValidToken
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
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