Module fs
Available on crate features
http and std only.Expand description
File system related services.
Structs§
- Async
Read Body - Adapter that turns an [
impl AsyncRead][tokio::io::AsyncRead] to an [impl Body][http_body::Body]. - Default
Serve DirFallback - The default fallback service used with
ServeDir. - Serve
Dir - Service that serves files from a given directory and all its sub directories.
- Serve
File - Service that serves a file.
Enums§
- Directory
Serve Mode - Serve
DirSymlink Policy - Controls whether
ServeDir/ServeFilefollow filesystem symlinks when resolving a requested path.