Enum hyper_staticfile::ResolveResult [−][src]
pub enum ResolveResult {
MethodNotMatched,
UriNotMatched,
NotFound,
PermissionDenied,
IsDirectory,
Found(File, Metadata),
}The result of resolve.
Covers all the possible 'normal' scenarios encountered when serving static files.
Variants
MethodNotMatchedThe request was not GET or HEAD request,
UriNotMatchedThe request URI was not just a path.
NotFoundThe requested file does not exist.
PermissionDeniedThe requested file could not be accessed.
IsDirectoryA directory was requested as a file.
Found(File, Metadata)The requested file was found.
Trait Implementations
impl Debug for ResolveResult[src]
impl Debug for ResolveResultAuto Trait Implementations
impl Send for ResolveResult
impl Send for ResolveResultimpl Sync for ResolveResult
impl Sync for ResolveResult