Enum jwt_actix::JwtAuthError [−][src]
pub enum JwtAuthError { NoKeystoreSpecified, FailedToLoadKeystore(Error), InvalidBearerAuth(Error), Unauthorised, }
Variants
Trait Implementations
Returns appropriate status code for error. Read more
fn error_response(&self) -> HttpResponse<BoxBody>
fn error_response(&self) -> HttpResponse<BoxBody>
Creates full 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
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