composable_tower_http/modify/
modifier.rs1use std::future::Future;
2
3pub trait Modifier<T> {
4 type Modified: Clone + Send + Sync;
5
6 type Error;
7
8 fn modify(&self, value: T) -> impl Future<Output = Result<Self::Modified, Self::Error>> + Send;
9}