Skip to main content

Module resil

Module resil 

Source
Expand description

Minimal resilience primitives for rs-zero.

Re-exports§

pub use breaker::BreakerCallError;
pub use breaker::BreakerConfig;
pub use breaker::BreakerError;
pub use breaker::BreakerGuard;
pub use breaker::BreakerPolicyConfig;
pub use breaker::BreakerSnapshot;
pub use breaker::BreakerState;
pub use breaker::CircuitBreaker;
pub use breaker::SharedCircuitBreaker;
pub use concurrency::ConcurrencyLimit;
pub use cpu::CpuSamplerConfig;
pub use cpu::CpuUsageProvider;
pub use cpu::LinuxCpuUsageProvider;
pub use cpu::NoopCpuUsageProvider;
pub use cpu::SharedCpuUsageProvider;
pub use cpu::real_cpu_provider;
pub use registry::BreakerRegistry;
pub use registry::ShedderRegistry;
pub use shedder::AdaptiveShedder;
pub use shedder::AdaptiveShedderConfig;
pub use shedder::ShedderError;
pub use shedder::ShedderGuard;
pub use shedder::ShedderSnapshot;
pub use timeout::TimeoutError;
pub use timeout::run_with_timeout;
pub use window::RollingWindow;
pub use window::WindowConfig;
pub use window::WindowOutcome;
pub use window::WindowSnapshot;

Modules§

breaker
concurrency
cpu
registry
shedder
timeout
window