Docs.rs
spring-macros-0.4.5
spring-macros 0.4.5
Permalink
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
serde ^1.0
dev
serde_json ^1.0
dev
tokio ^1.47
dev
Versions
100%
of the crate is documented
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.4.5
one_
shot
Sections
Syntax
Attributes
Examples
In crate spring_
macros
spring_macros
Attribute Macro
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"
); }