#![forbid(unsafe_code)]
mod controller;
mod gcra;
mod gradient;
mod latency;
mod probe;
mod simulator;
pub use controller::{
ControllerSnapshot, DispatchReservation, DispatchState, EndpointConfig, EndpointController,
InFlightRequest, Outcome,
};
pub use gcra::Gcra;
pub use gradient::{Gradient2, Gradient2Config};
pub use latency::{LatencyEstimator, LatencyEstimatorConfig};
pub use probe::{Probe, ProbeKind, ProbeSchedule, ProbeState};
pub use simulator::{
EndpointReport, SimulatedEndpoint, SimulationConfig, SimulationReport, simulate,
};
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ScheduleError {
QueueFull,
InflightLimit,
IdExhausted,
}