pub struct ActixAdminError {
pub ty: ActixAdminErrorType,
pub msg: String,
}Fields§
§ty: ActixAdminErrorType§msg: StringImplementations§
Trait Implementations§
Source§impl Debug for ActixAdminError
impl Debug for ActixAdminError
Source§impl Display for ActixAdminError
impl Display for ActixAdminError
Source§impl Error for ActixAdminError
impl Error for ActixAdminError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ActixAdminError> for ActixAdminNotification
impl From<ActixAdminError> for ActixAdminNotification
Source§fn from(e: ActixAdminError) -> Self
fn from(e: ActixAdminError) -> Self
Converts to this type from the input type.
Source§impl From<DbErr> for ActixAdminError
impl From<DbErr> for ActixAdminError
Source§impl From<Error> for ActixAdminError
impl From<Error> for ActixAdminError
Source§impl From<Error> for ActixAdminError
impl From<Error> for ActixAdminError
Source§fn from(err: MultipartError) -> Self
fn from(err: MultipartError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ActixAdminError
impl From<Error> for ActixAdminError
Source§impl ResponseError for ActixAdminError
impl ResponseError for ActixAdminError
Source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Auto Trait Implementations§
impl Freeze for ActixAdminError
impl RefUnwindSafe for ActixAdminError
impl Send for ActixAdminError
impl Sync for ActixAdminError
impl Unpin for ActixAdminError
impl UnsafeUnpin for ActixAdminError
impl UnwindSafe for ActixAdminError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more