Skip to main content

IntoRouteResult

Trait IntoRouteResult 

Source
pub trait IntoRouteResult {
    // Required method
    fn into_route_result(self) -> Result<Response>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<R, E> IntoRouteResult for Result<R, E>
where R: IntoResponse, E: Into<Error>,

Source§

impl<R> IntoRouteResult for Option<R>
where R: IntoResponse,

Implementors§

Source§

impl<R> IntoRouteResult for R
where R: IntoResponse,