Skip to main content

Module throttle

Module throttle 

Source

Re-exports§

pub use crate::session::StoreError;
pub use guard::Throttle;
pub use store::MemoryThrottleStore;
pub use store::ThrottleStore;

Modules§

guard
store

Structs§

ThrottleConfig
只放校准旋钮,不放策略。

Enums§

ThrottleDecision
ThrottleOutcome
record_failure 的结果。与 check 的 ThrottleDecision 不同, 这里不存在 Unavailable —— 存储故障走 Err 返回,不混在正常结果里。