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