Docs.rs
axum-0.6.0-rc.2
axum 0.6.0-rc.2
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
carllerche
davidpdrsn
github:tokio-rs:core
github:tokio-rs:axum-release
Dependencies
async-trait ^0.1.43
normal
axum-core =0.3.0-rc.2
normal
axum-macros ^0.3.0-rc.1
normal
base64 ^0.13
normal
bitflags ^1.0
normal
bytes ^1.0
normal
futures-util ^0.3
normal
headers ^0.3.7
normal
http ^0.2.5
normal
http-body ^0.4.4
normal
hyper ^0.14.14
normal
itoa ^1.0.1
normal
matchit ^0.6
normal
memchr ^2.4.1
normal
mime ^0.3.16
normal
multer ^2.0.0
normal
percent-encoding ^2.1
normal
pin-project-lite ^0.2.7
normal
serde ^1.0
normal
serde_json ^1.0
normal
serde_urlencoded ^0.7
normal
sha-1 ^0.10
normal
sync_wrapper ^0.1.1
normal
tokio ^1
normal
tokio-tungstenite ^0.17.2
normal
tower ^0.4.13
normal
tower-http ^0.3.0
normal
tower-layer ^0.3
normal
tower-service ^0.3
normal
anyhow ^1.0
dev
futures ^0.3
dev
quickcheck ^1.0
dev
quickcheck_macros ^1.0
dev
reqwest ^0.11.11
dev
serde ^1.0
dev
serde_json ^1.0
dev
tokio ^1.6.1
dev
tokio-stream ^0.1
dev
tower ^0.4.10
dev
tower-http ^0.3.4
dev
tracing ^0.1
dev
uuid ^1.0
dev
Versions
100%
of the crate is documented
Go to latest stable release
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
☰
In axum::extract::ws::close_code
?
Constant
axum
::
extract
::
ws
::
close_code
::
RESTART
source
·
[
−
]
pub const RESTART:
u16
= 1012;
Available on
crate feature
ws
only.
Expand description
Indicates that the server is restarting.