Crate tsukuyomi_service

Crate tsukuyomi_service 

Source
Expand description

Abstraction of service layer in Tsukuyomi, based on tower-service.

Re-exports§

pub use tower_service::Service;

Traits§

MakeService
A trait representing a factory of Services.
MakeServiceRef
An alias of MakeService receiving the context value of Ctx as reference.
ModifyService
A trait representing the modification of Service to another one.
ModifyServiceRef
An alias of ModifyService receiving the context value of Ctx as reference.

Functions§

make_service
Creates a MakeService from a function.
make_service_ref
Creates a ModifyServiceRef from a function.
modify_service
Creates a ModifyService from a function.
modify_service_ref
Creates a ModifyServiceRef from a function.
service_fn
Creates a Service from a function.