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