Trait catalyzer::internals::crates::axum::middleware::IntoMapRequestResult
pub trait IntoMapRequestResult<B>: Sealed<B> {
// Required method
fn into_map_request_result(self) -> Result<Request<B>, Response<Body>>;
}
Expand description
Trait implemented by types that can be returned from map_request
,
map_request_with_state
.
This trait is sealed such that it cannot be implemented outside this crate.
Required Methods§
fn into_map_request_result(self) -> Result<Request<B>, Response<Body>>
fn into_map_request_result(self) -> Result<Request<B>, Response<Body>>
Perform the conversion.