composable_tower_http/extract/chain/
chainer.rs

1use std::future::Future;
2
3pub trait Chainer<T> {
4    type Chained: Clone + Send + Sync;
5
6    type Error;
7
8    fn chain(&self, value: T) -> impl Future<Output = Result<Self::Chained, Self::Error>> + Send;
9}