Module tower_http::services::fs[][src]

This is supported on crate feature fs only.
Expand description

File system related services.

Structs

AsyncReadBody

Adapter that turns an impl AsyncRead to an impl Body.

ServeDir

Service that serves files from a given directory and all its sub directories.

ServeDirResponseBody

Response body for ServeDir.

ServeDirResponseFuture

Response future of ServeDir.

ServeFile

Service that serves a file.

ServeFileResponseBody

Response body for ServeFile.

ServeFileResponseFuture

Response future of ServeFile.