composable-tower-http 0.3.1

Highly customizable http utilities built on top of tower.
Documentation
1
2
3
4
5
6
7
8
9
use std::future::Future;

pub trait Chainer<T> {
    type Chained: Clone + Send + Sync;

    type Error;

    fn chain(&self, value: T) -> impl Future<Output = Result<Self::Chained, Self::Error>> + Send;
}