1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-compute/src/retry.rs
Items
struct RetryPolicy enum BackoffStrategy impl Default for RetryPolicy impl RetryPolicy struct RetryResult
Functions
By call-graph weight (PageRank; 1.0 is the average function). 13 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| RetryPolicy::delay_for_attemptsrc/retry.rs:49 | method | 8 | 3 | 3 | 0 | 1.8 | |
| fast_policysrc/retry.rs:167 | fn | 9 | 1 | 5 | 0 | 1.5 | |
| with_retrysrc/retry.rs:73 | fn | 36 | 4 | 3 | 2 | 1.1 | |
| select_fallback_peersrc/retry.rs:111 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| execute_with_fallbacksrc/retry.rs:118 | fn | 42 | 5 | 2 | 2 | 0.9 | |
| RetryPolicy::defaultsrc/retry.rs:36 | trait impl | 9 | 1 | 0 | 0 | 0.5 | |
| test_succeeds_first_trysrc/retry.rs:178 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| test_retries_then_succeedssrc/retry.rs:188 | fn | 14 | 2 | 0 | 2 | 0.5 | |
| test_all_retries_exhaustedsrc/retry.rs:204 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| test_exponential_backoffsrc/retry.rs:219 | fn | 45 | 1 | 0 | 1 | 0.5 | |
| test_execute_with_fallbacksrc/retry.rs:266 | fn | 15 | 2 | 0 | 2 | 0.5 | |
| test_execute_with_fallback_all_failsrc/retry.rs:283 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| test_select_fallback_peersrc/retry.rs:296 | fn | 11 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.