Enum jwt_actix::JwtAuthError [−][src]
pub enum JwtAuthError { NoKeystoreSpecified, FailedToLoadKeystore(Error), InvalidBearerAuth(Error), Unauthorised, }
Variants
FailedToLoadKeystore(Error)
InvalidBearerAuth(Error)
Trait Implementations
Response’s status code Read more
fn error_response(&self) -> Response<Body>
fn error_response(&self) -> Response<Body>
Create response for error Read more
Auto Trait Implementations
impl RefUnwindSafe for JwtAuthError
impl Send for JwtAuthError
impl Sync for JwtAuthError
impl Unpin for JwtAuthError
impl UnwindSafe for JwtAuthError
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V