Docs.rs
tower-http-0.3.5
tower-http 0.3.5
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
carllerche
github:tower-rs:publish
Dependencies
async-compression ^0.3
normal
base64 ^0.13
normal
bitflags ^1.3.1
normal
bytes ^1
normal
futures-core ^0.3
normal
futures-util ^0.3.14
normal
http ^0.2.2
normal
http-body ^0.4.5
normal
http-range-header ^0.3.0
normal
httpdate ^1.0
normal
iri-string ^0.4
normal
mime ^0.3
normal
mime_guess ^2
normal
percent-encoding ^2.1.0
normal
pin-project-lite ^0.2.7
normal
tokio ^1.6
normal
tokio-util ^0.7
normal
tower ^0.4.1
normal
tower-layer ^0.3
normal
tower-service ^0.3
normal
tracing ^0.1
normal
uuid ^1.0
normal
brotli ^3
dev
bytes ^1
dev
flate2 ^1.0
dev
futures ^0.3
dev
hyper ^0.14
dev
once_cell ^1
dev
serde_json ^1.0
dev
tokio ^1
dev
tower ^0.4.10
dev
tracing-subscriber ^0.3
dev
uuid ^1.0
dev
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module fs
Structs
?
Module
tower_http
::
services
::
fs
source
·
[
−
]
Available on
crate feature
fs
only.
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
].