Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off

crates/cre8-app-flight/src/quota.rs

cre8-app-flight · module quota · src · 227 lines (188 code, 17 comment) · sha 7a6365c2c75d0067

Items

const LICENSED_ANONYMOUS_INTERVAL_MS const AUTHENTICATED_INTERVAL_MS const RATE_LIMIT_FALLBACK_INTERVAL_MS struct RequestBudget impl RequestBudget struct ProviderQuotaState impl ProviderQuotaState struct Admission

Functions

By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
saturating_seconds_to_mssrc/quota.rs:159fn31102.1
next_allowed_at_mssrc/quota.rs:144fn142211.9
RequestBudget::for_bboxsrc/quota.rs:24method176301.5
ProviderQuotaState::credits_insufficientsrc/quota.rs:84method31301.4
state_after_response_fromsrc/quota.rs:110fn302211.1
ProviderQuotaState::is_deferred_atsrc/quota.rs:77method31201
estimated_request_creditssrc/quota.rs:43fn31110.9
admissionsrc/quota.rs:169fn61320.8
state_after_responsesrc/quota.rs:89fn201210.7
bboxsrc/quota.rs:180fn31100.7
ProviderQuotaState::for_providersrc/quota.rs:63method131100.6
request_credit_thresholds_are_inclusivesrc/quota.rs:185fn81020.5
invalid_and_nonfinite_boxes_are_rejectedsrc/quota.rs:195fn72010.5
cooldown_exact_boundary_is_admittedsrc/quota.rs:204fn71030.5
retry_precedence_fallback_and_saturation_are_deterministicsrc/quota.rs:213fn71010.5
unknown_credits_are_not_treated_as_zerosrc/quota.rs:222fn51030.5

Source not readable from this process.