Skip to main content

append_rate_limit_event_runtime_local

Function append_rate_limit_event_runtime_local 

Source
pub fn append_rate_limit_event_runtime_local(
    app: &AppRuntime,
    policy_key: &str,
    bucket_key: &str,
    outcome: &str,
) -> i32
Expand description

Appends one rate-limit event with a monotonic state-local identifier.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::dynamic::append_rate_limit_event_runtime_local.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::append_rate_limit_event_runtime_local.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::append_rate_limit_event_runtime_local(todo!(), todo!(), todo!(), todo!());