pub type ServiceResult<B> = Result<Response<B>, ConnectError>;Expand description
Result type returned by handler trait methods.
B is the body type — typically the owned response message, or any
impl Encodable<M>.
Aliased Type§
pub enum ServiceResult<B> {
Ok(Response<B>),
Err(ConnectError),
}