Expand description
Abstraction of service layer in Tsukuyomi, based on tower-service.
Re-exports§
pub use tower_service::Service;
Traits§
- Make
Service - A trait representing a factory of
Services. - Make
Service Ref - An alias of
MakeServicereceiving the context value ofCtxas reference. - Modify
Service - A trait representing the modification of
Serviceto another one. - Modify
Service Ref - An alias of
ModifyServicereceiving the context value ofCtxas reference.
Functions§
- make_
service - Creates a
MakeServicefrom a function. - make_
service_ ref - Creates a
ModifyServiceReffrom a function. - modify_
service - Creates a
ModifyServicefrom a function. - modify_
service_ ref - Creates a
ModifyServiceReffrom a function. - service_
fn - Creates a
Servicefrom a function.