Skip to main content

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;
8pub mod request_time;
9mod service;
10
11/// An extractor for a remote type.
12///
13/// This is a helper type that allows extracting a type `T` from a request, where `T` is defined in
14/// another crate. There must be an implementation of `FromRequestParts` or `FromRequest` for
15/// `Xt<T>` for this to work.
16#[derive(Debug)]
17pub struct Xt<T>(pub T);