Struct actix_web::error::Error
[−]
[src]
pub struct Error { /* fields omitted */ }General purpose actix web error
Methods
impl Error[src]
pub fn cause(&self) -> &ResponseError[src]
Returns a reference to the underlying cause of this Error.
pub fn backtrace(&self) -> &Backtrace[src]
Returns a reference to the Backtrace carried by this error, if it carries one.
Trait Implementations
impl Display for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Debug for Error[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl From<Error> for HttpResponse[src]
Convert Error to a HttpResponse instance
impl<T: ResponseError> From<T> for Error[src]
Error for any error that implements ResponseError
impl From<Error> for Error[src]
impl From<Error> for ClientError[src]
fn from(err: Error) -> ClientError[src]
Performs the conversion.