mirror of
https://github.com/tokio-rs/axum.git
synced 2025-02-16 18:31:51 +01:00
Co-authored-by: Jonas Platte <jplatte+git@posteo.de> Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
12 lines
207 B
Rust
12 lines
207 B
Rust
use axum_macros::FromRequest;
|
|
|
|
#[derive(FromRequest)]
|
|
struct Extractor;
|
|
|
|
fn assert_from_request()
|
|
where
|
|
Extractor: axum::extract::FromRequest<(), Rejection = std::convert::Infallible>,
|
|
{
|
|
}
|
|
|
|
fn main() {}
|