rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-compute/src/execution_lease_runtime.rs
Items
const DEFAULT_LOCAL_NODE_IDENTITY const WORK_LEASE_BACKEND_ENV enum ExecutionLeaseAuthorityBackend impl ExecutionLeaseAuthorityBackend struct LocalExecutionOwner impl LocalExecutionOwner enum ExecutionLeaseRuntimeError struct ExecutionLeaseRuntime impl ExecutionLeaseRuntime enum ExecutionLeaseRuntimeStatus impl ExecutionLeaseRuntimeStatus enum AuthorityStorageKey struct AuthorityRegistryKey static REGISTRY static REGISTRY static REGISTRY static ENV_LOCK static TEST_ID const WORK_LEASE_ENV_KEYS struct WorkLeaseEnvSnapshot impl WorkLeaseEnvSnapshot impl Drop for WorkLeaseEnvSnapshot
Functions
By call-graph weight (PageRank; 1.0 is the average function). 36 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| LocalExecutionOwner::from_configured_node_identitysrc/execution_lease_runtime.rs:52 | method | 7 | 3 | 7 | 0 | 4 | |
| ExecutionLeaseRuntime::from_boot_owner_with_handlessrc/execution_lease_runtime.rs:135 | method | 15 | 1 | 1 | 4 | 3 | |
| ExecutionLeaseRuntimeStatus::from_boot_ownersrc/execution_lease_runtime.rs:243 | method | 19 | 2 | 1 | 1 | 3 | |
| ExecutionLeaseRuntime::from_configured_contextsrc/execution_lease_runtime.rs:197 | method | 16 | 1 | 5 | 3 | 1.8 | |
| validate_authority_configsrc/execution_lease_runtime.rs:343 | fn | 23 | 6 | 2 | 0 | 1.6 | |
| ExecutionLeaseRuntime::authority_configsrc/execution_lease_runtime.rs:218 | method | 3 | 1 | 4 | 0 | 1.5 | |
| captured_authority_configsrc/execution_lease_runtime.rs:290 | fn | 18 | 1 | 3 | 2 | 1.4 | |
| captured_authority_backendsrc/execution_lease_runtime.rs:309 | fn | 20 | 3 | 3 | 0 | 1.4 | |
| ExecutionLeaseRuntime::authoritysrc/execution_lease_runtime.rs:230 | method | 3 | 1 | 9 | 0 | 1.2 | |
| ExecutionLeaseRuntimeStatus::requiresrc/execution_lease_runtime.rs:263 | method | 6 | 2 | 1 | 0 | 1.2 | |
| cleanup_sqlite_filesrc/execution_lease_runtime.rs:506 | fn | 5 | 2 | 4 | 0 | 1.2 | |
| authority_storage_keysrc/execution_lease_runtime.rs:367 | fn | 21 | 5 | 1 | 0 | 1 | |
| shared_execution_authoritysrc/execution_lease_runtime.rs:408 | fn | 41 | 4 | 1 | 7 | 1 | |
| WorkLeaseEnvSnapshot::capturesrc/execution_lease_runtime.rs:471 | method | 3 | 1 | 3 | 0 | 0.9 | |
| ExecutionLeaseRuntime::for_runtime_contextsrc/execution_lease_runtime.rs:102 | method | 7 | 1 | 5 | 5 | 0.8 | |
| ExecutionLeaseRuntime::from_boot_ownersrc/execution_lease_runtime.rs:123 | method | 11 | 1 | 1 | 4 | 0.7 | |
| authority_registrysrc/execution_lease_runtime.rs:330 | fn | 5 | 1 | 2 | 0 | 0.7 | |
| authority_registry_keysrc/execution_lease_runtime.rs:389 | fn | 14 | 1 | 2 | 1 | 0.7 | |
| prune_dead_authoritiessrc/execution_lease_runtime.rs:404 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| sqlite_truth_filesrc/execution_lease_runtime.rs:493 | fn | 12 | 1 | 3 | 1 | 0.6 | |
| require_sqlite_truthsrc/execution_lease_runtime.rs:336 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| ExecutionLeaseRuntime::from_configured_partssrc/execution_lease_runtime.rs:155 | method | 15 | 1 | 2 | 2 | 0.6 | |
| unique_peer_idsrc/execution_lease_runtime.rs:489 | fn | 3 | 1 | 2 | 0 | 0.6 | |
| ExecutionLeaseRuntime::from_test_boot_identitysrc/execution_lease_runtime.rs:175 | method | 21 | 1 | 1 | 3 | 0.6 | |
| configsrc/execution_lease_runtime.rs:512 | fn | 7 | 1 | 1 | 0 | 0.6 | |
| ExecutionLeaseAuthorityBackend::as_strsrc/execution_lease_runtime.rs:36 | method | 6 | 2 | 0 | 0 | 0.5 | |
| LocalExecutionOwner::peer_idsrc/execution_lease_runtime.rs:60 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ExecutionLeaseRuntime::from_boot_identitysrc/execution_lease_runtime.rs:112 | method | 7 | 1 | 0 | 2 | 0.5 | |
| ExecutionLeaseRuntime::local_execution_ownersrc/execution_lease_runtime.rs:214 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ExecutionLeaseRuntime::coordinatorsrc/execution_lease_runtime.rs:222 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ExecutionLeaseRuntime::authority_backendsrc/execution_lease_runtime.rs:226 | method | 3 | 1 | 0 | 0 | 0.5 | |
| WorkLeaseEnvSnapshot::dropsrc/execution_lease_runtime.rs:477 | trait impl | 10 | 3 | 0 | 0 | 0.5 | |
| local_execution_owner_is_boot_bound_not_requester_boundsrc/execution_lease_runtime.rs:521 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| same_truth_and_coordinator_share_one_hyperdb_authoritysrc/execution_lease_runtime.rs:533 | fn | 14 | 1 | 0 | 7 | 0.5 | |
| boot_captures_config_once_despite_later_environment_mutationsrc/execution_lease_runtime.rs:549 | fn | 39 | 1 | 0 | 11 | 0.5 | |
| weak_authority_registry_prunes_expired_authorities_and_releases_truthsrc/execution_lease_runtime.rs:590 | fn | 31 | 1 | 0 | 11 | 0.5 |
Source not readable from this process.