Enum hyper_fs::Error
[−]
[src]
pub enum Error { Io(Error), Method, Typo, Route, }
Error
wrapped.
Variants
Io(Error)
Io(io::error)
: not found, permission denied...
Method
HTTP Method is not GET
or HEAD
.
Typo
New a StaticFile
by a index(Not is file) or New a StaticIndex
by a file(Not is index).
Route
StaticFs
's base url is not a prefix of Request
's path.