Struct tower_web::error::ErrorKind[][src]

pub struct ErrorKind { /* fields omitted */ }

A list specifying the general categories of Tower Web errors.

Methods

impl ErrorKind
[src]

Returns a new ErrorKind value representing a 400 -- bad request error.

Returns true if self represents a 400 -- bad request error

Returns a new ErrorKind value representing a 404 -- not found error

Returns true if self represents a 404 -- not found error

Returns a new ErrorKind value representing 500 -- internal server error.

Returns true if self represents a 500 -- internal server error.

Trait Implementations

impl From<ErrorKind> for Error
[src]

Performs the conversion.

impl Debug for ErrorKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind