mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-16 00:00:18 +02:00
Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: Michael Scofield <[email protected]>
13 lines
200 B
Rust
13 lines
200 B
Rust
use axum_macros::FromRequest;
|
|
|
|
#[derive(FromRequest)]
|
|
struct Extractor(axum::http::HeaderMap, String);
|
|
|
|
fn assert_from_request()
|
|
where
|
|
Extractor: axum::extract::FromRequest<()>,
|
|
{
|
|
}
|
|
|
|
fn main() {}
|