Module fs

Source
Expand description

File system related services.

Structsยง

AsyncReadBody
Adapter that turns an impl AsyncRead to an impl 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.
ServeFileSystemResponseBody
Response body for ServeDir and ServeFile.
ServeFileSystemResponseFuture
Response future of ServeDir::try_call().