Docs.rs
spring-macros-0.0.9
spring-macros 0.0.9
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
holmofy
Dependencies
proc-macro2 ^1.0
normal
quote ^1.0
normal
syn ^2.0
normal
Versions
94.74%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
spring_
macros
0.0.9
Attribute Macro
spring_macros
::
one_shot
Copy item path
source
·
[
−
]
#[one_shot]
Expand description
§
Syntax
#[one_shot(60)]
§
Attributes
"path"
: Raw literal string with path for which to register handler.
§
Examples
#[one_shot(
60
)]
async fn
example() {
println!
(
"hello world"
); }