axum_prehandle/
lib.rs

1mod handler;
2pub mod prefabs;
3
4use axum::body::Body;
5pub use handler::PreHandler;
6pub use handler::PreHandling;
7use prefabs::map_error::MapError;
8use prefabs::resp_result::ToRespResult;
9
10pub type BodyPreHandling<H> = PreHandling<Body, H>;
11pub type PreRespMapErrorHandling<H, E> = BodyPreHandling<ToRespResult<Body, MapError<Body, H, E>>>;
12pub type PreRespHandling<H> = BodyPreHandling<ToRespResult<Body, H>>;