Docs.rs
poem-derive-3.1.8
poem-derive 3.1.8
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
sunli829
Dependencies
proc-macro-crate ^3.0.0
normal
proc-macro2 ^1.0.29
normal
quote ^1.0.9
normal
syn ^2.0
normal
Versions
100%
of the crate is documented
Platform
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
poem_
derive
3.1.8
handler
Sections
Example
In crate poem_
derive
poem_derive
Attribute Macro
handler
Copy item path
Source
#[handler]
Expand description
Wrap an asynchronous function as an
Endpoint
.
§
Example
ⓘ
#[handler]
async fn
example() { }