pub type Result<T> = Result<T, Error>;Aliased Type§
enum Result<T> {
Ok(T),
Err(Error),
}Variants§
Trait Implementations§
source§impl<T> IntoRouteResult<T> for Result<T>where
T: Serialize,
Available on crate feature json only.
impl<T> IntoRouteResult<T> for Result<T>where
T: Serialize,
Available on crate feature
json only.