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 Modifier<T> {
    type Modified: Clone + Send + Sync;

    type Error;

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