iconoclast 0.1.0

Reusable code for Rust-based business μServices
Documentation
1
2
3
4
5
6
pub trait MessageHandler<P, E>
where
    E: std::error::Error,
{
    fn handle(&self, payload: P) -> impl Future<Output = Result<(), E>>;
}