Trait tsukuyomi_service::ModifyServiceRef
source · pub trait ModifyServiceRef<Ctx, Request, S> {
type Response;
type Error;
type Service: Service<Request, Response = Self::Response, Error = Self::Error>;
type ModifyError;
type Future: Future<Item = Self::Service, Error = Self::ModifyError>;
fn modify_service_ref(&self, input: S, ctx: &Ctx) -> Self::Future;
}
Expand description
An alias of ModifyService
receiving the context value of Ctx
as reference.