mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 07:20:12 +01:00
14 lines
236 B
Rust
14 lines
236 B
Rust
use axum::{extract::FromRequestParts, response::Response};
|
|
|
|
#[derive(FromRequestParts)]
|
|
struct Extractor {
|
|
body: String,
|
|
}
|
|
|
|
fn assert_from_request()
|
|
where
|
|
Extractor: FromRequestParts<(), Rejection = Response>,
|
|
{
|
|
}
|
|
|
|
fn main() {}
|