objectstore_server/extractors/
mod.rs

1//! Axum request extractors for objectstore endpoints.
2
3pub mod batch;
4pub mod body;
5pub mod downstream_service;
6mod id;
7mod service;
8
9/// An extractor for a remote type.
10///
11/// This is a helper type that allows extracting a type `T` from a request, where `T` is defined in
12/// another crate. There must be an implementation of `FromRequestParts` or `FromRequest` for
13/// `Xt<T>` for this to work.
14#[derive(Debug)]
15pub struct Xt<T>(pub T);