mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-19 13:10:41 +01:00
11 lines
204 B
Rust
11 lines
204 B
Rust
|
use axum_macros::FromRequest;
|
||
|
use axum::extract::Extension;
|
||
|
|
||
|
#[derive(FromRequest, Clone)]
|
||
|
#[from_request(rejection_derive(!Error), via(Extension))]
|
||
|
struct Extractor {
|
||
|
config: String,
|
||
|
}
|
||
|
|
||
|
fn main() {}
|