[][src]Crate izanami_service

Abstraction of network services based on tower-service.

Re-exports

pub use crate::ext::ServiceExt;
pub use tower_service::Service;

Modules

ext

Extension for Services.

Traits

IntoService

A trait to be converted into an asynchronous function.

MakeService

A trait representing an asynchronous factory of Services.

ServiceMut
ServiceRef

Functions

service_fn

Creates a Service from a function that returns responses asynchronously.

service_fn_ok

Creates a Service from a function that returns responses immediately.

unit

Create a Service that returns ().