#![doc(html_root_url = "https://docs.rs/tower-load/0.3.0")]
#![warn(
missing_debug_implementations,
missing_docs,
rust_2018_idioms,
unreachable_pub
)]
#![allow(elided_lifetimes_in_paths)]
mod constant;
mod instrument;
pub mod peak_ewma;
pub mod pending_requests;
pub use self::{
constant::Constant,
instrument::{Instrument, InstrumentFuture, NoInstrument},
peak_ewma::{PeakEwma, PeakEwmaDiscover},
pending_requests::{PendingRequests, PendingRequestsDiscover},
};
pub trait Load {
type Metric: PartialOrd;
fn load(&self) -> Self::Metric;
}