mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-17 12:19:10 +01:00
13 lines
227 B
Rust
13 lines
227 B
Rust
|
use axum_macros::FromRequestParts;
|
||
|
|
||
|
#[derive(FromRequestParts)]
|
||
|
struct Extractor(axum::http::HeaderMap, axum::http::Method);
|
||
|
|
||
|
fn assert_from_request()
|
||
|
where
|
||
|
Extractor: axum::extract::FromRequestParts<()>,
|
||
|
{
|
||
|
}
|
||
|
|
||
|
fn main() {}
|