Module fs
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.