2022-01-25 15:05:50 +01:00
|
|
|
use axum_macros::FromRequest;
|
|
|
|
|
|
|
|
#[derive(FromRequest)]
|
2022-08-17 17:13:31 +02:00
|
|
|
struct Extractor(#[from_request(via(axum::Extension), via(axum::Extension))] State);
|
2022-01-25 15:05:50 +01:00
|
|
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
struct State;
|
|
|
|
|
|
|
|
fn main() {}
|