mirror of
https://github.com/openharmony/third_party_rust_tower.git
synced 2026-07-01 20:44:03 -04:00
f2f5593ec3
* Update hedge, filter, load, load-shed, and more * Update ready cache * Prepare release for ready-cache * fix merge * Update balance * Prepare balance release
24 lines
587 B
Rust
24 lines
587 B
Rust
#![doc(html_root_url = "https://docs.rs/tower-spawn-ready/0.3.0")]
|
|
#![warn(
|
|
missing_debug_implementations,
|
|
missing_docs,
|
|
rust_2018_idioms,
|
|
unreachable_pub
|
|
)]
|
|
#![allow(elided_lifetimes_in_paths)]
|
|
|
|
//! When an underlying service is not ready, drive it to readiness on a
|
|
//! background task.
|
|
|
|
pub mod future;
|
|
mod layer;
|
|
mod make;
|
|
mod service;
|
|
|
|
pub use crate::layer::SpawnReadyLayer;
|
|
pub use crate::make::{MakeFuture, MakeSpawnReady};
|
|
pub use crate::service::SpawnReady;
|
|
|
|
/// Errors produced by `SpawnReady`.
|
|
pub(crate) type Error = Box<dyn std::error::Error + Send + Sync>;
|