Module fs

Expand description

File system related services.

Structs§

AsyncReadBody
Adapter that turns an [impl AsyncRead][tokio::io::AsyncRead] to an [impl Body][http_body::Body].
DefaultServeDirFallback
The default fallback service used with ServeDir.
ServeDir
Service that serves files from a given directory and all its sub directories.
ServeFile
Service that serves a file.

Enums§

DirectoryServeMode