mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-29 19:52:40 +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() {}
|