Enum actix_state_guards::GuardError
source · pub enum GuardError<GuardCallErr> {
FromRequest(ActixWebError),
GuardCall(GuardCallErr),
}
Variants§
FromRequest(ActixWebError)
GuardCall(GuardCallErr)
Trait Implementations§
source§impl<GuardCallErr: Debug> Debug for GuardError<GuardCallErr>
impl<GuardCallErr: Debug> Debug for GuardError<GuardCallErr>
source§impl<GuardCallErr> Display for GuardError<GuardCallErr>where
GuardCallErr: Display,
impl<GuardCallErr> Display for GuardError<GuardCallErr>where GuardCallErr: Display,
source§impl<GuardCallErr> ResponseError for GuardError<GuardCallErr>where
GuardCallErr: ResponseError,
impl<GuardCallErr> ResponseError for GuardError<GuardCallErr>where GuardCallErr: ResponseError,
source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
source§fn error_response(&self) -> HttpResponse<BoxBody>
fn error_response(&self) -> HttpResponse<BoxBody>
Creates full response for error. Read more