pub type Result<T> = Result<T, Error>;
Aliased Type§
pub 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.