Async request mirroring with sampling, divergence detection, and structured response diffs. SRE bread-and-butter for safe migrations. Composes with reliability-toolkit-rs.
//! Crate-wide error type.
usethiserror::Error;/// Anything that can go wrong inside the crate.
#[derive(Debug, Error)]pubenumShadowError{/// The wrapped backend returned an error.
#[error("backend failure: {0}")]
Backend(String),/// The shadow leg timed out. The primary call is unaffected.
#[error("shadow leg timed out")]
ShadowTimeout,}