pub type HttpResult = Result<HttpResponse>;Aliased Type§
enum HttpResult {
Ok(Response<HttpBody>),
Err(Error),
}Variants§
Trait Implementations§
Source§impl<T: Serialize> From<ResponseContext<T>> for HttpResult
impl<T: Serialize> From<ResponseContext<T>> for HttpResult
Source§fn from(value: ResponseContext<T>) -> Self
fn from(value: ResponseContext<T>) -> Self
Converts to this type from the input type.