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