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