Struct tk_http::server::Error
[−]
pub struct Error(_);
HTTP server error
Methods
impl Error
[src]
pub fn custom<E: Into<Box<Error + Send + Sync>>>(err: E) -> Error
[src]
Create an error instance wrapping custom error
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more