mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 07:39:25 +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() {}
|