Enum hyper_fs::Error [] [src]

pub enum Error {
    Io(Error),
    Method,
    Typo,
    Route,
}

Error wrapped.

Variants

Io(io::error): not found, permission denied...

HTTP Method is not GET or HEAD.

New a StaticFile by a index(Not is file) or New a StaticIndex by a file(Not is index).

StaticFs's base url is not a prefix of Request's path.

Methods

impl Error
[src]

[src]

fast creat Error::Io(io::Error::from(IoErrorKind::NotFound))

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.