rust 1,859,753 · typescript 235,218 · javascript 132,950 · python 20,426 · 6,405 files · digest 8b5a693e3c82 · built in 1.7 s · crystals off
crates/cre8-runtime-dispatch-api/src/lib.rs
Items
type ConnectAppProvider type DispatchConnectionProvider type DispatchAppConnectionProvider type DispatchConnectionResponseProvider type DispatchRawHttpProvider type DispatchWsMessageProvider type DispatchWebSocketPathProvider type BootAppProvider type InitAppProvider type HandleAppProvider type RuntimeAppNamesProvider type RuntimeRoutesProvider type RuntimeAppSummariesProvider type RuntimeAppHandlesConnectionProvider type RuntimeConnectionHasHandlerProvider struct RuntimeAppSummary struct RuntimeDispatchProvider static RUNTIME_DISPATCH_PROVIDER static WEBSOCKET_PATH_PROVIDER struct DispatchOverrideGuard impl Drop for DispatchOverrideGuard struct AllowPolicy impl OperationAccessPolicy for AllowPolicy struct Origin impl AuthenticatedServiceOrigin for Origin
Functions
By call-graph weight (PageRank; 1.0 is the average function). 52 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| dispatch_connectionsrc/lib.rs:128 | fn | 4 | 1 | 232 | 2 | 67.5 | |
| without_service_originsrc/lib.rs:197 | fn | 5 | 1 | 5 | 2 | 42.2 | |
| dispatch_app_connectionsrc/lib.rs:158 | fn | 15 | 2 | 105 | 3 | 35 | |
| dispatch_connection_to_providersrc/lib.rs:133 | fn | 10 | 3 | 2 | 2 | 30.5 | |
| provider_missingsrc/lib.rs:274 | fn | 3 | 1 | 7 | 0 | 29.6 | |
| thread_dispatch_overridesrc/lib.rs:116 | fn | 3 | 1 | 2 | 0 | 23.4 | |
| set_thread_dispatch_overridesrc/lib.rs:94 | fn | 4 | 1 | 188 | 0 | 13.8 | |
| dispatch_service_connectionsrc/lib.rs:146 | fn | 11 | 1 | 23 | 4 | 6.2 | |
| runtime_routessrc/lib.rs:241 | fn | 3 | 1 | 9 | 0 | 5.1 | |
| runtime_app_namessrc/lib.rs:237 | fn | 3 | 1 | 15 | 0 | 4.7 | |
| runtime_app_summariessrc/lib.rs:245 | fn | 3 | 1 | 7 | 0 | 3.3 | |
| connect_appsrc/lib.rs:120 | fn | 7 | 1 | 7 | 2 | 2.7 | |
| handle_appsrc/lib.rs:230 | fn | 6 | 1 | 11 | 1 | 2.6 | |
| register_runtime_dispatch_providersrc/lib.rs:68 | fn | 3 | 1 | 9 | 0 | 2.5 | |
| boot_appsrc/lib.rs:216 | fn | 6 | 1 | 4 | 1 | 1.7 | |
| runtime_app_handles_connectionsrc/lib.rs:249 | fn | 6 | 1 | 6 | 0 | 1.7 | |
| dispatch_raw_httpsrc/lib.rs:187 | fn | 4 | 1 | 7 | 1 | 1.6 | |
| runtime_connection_has_handlersrc/lib.rs:260 | fn | 6 | 1 | 5 | 0 | 1.6 | |
| authoritysrc/lib.rs:309 | fn | 14 | 1 | 2 | 1 | 1.4 | |
| runtime_app_result_keysrc/lib.rs:267 | fn | 6 | 1 | 4 | 1 | 1.3 | |
| dispatch_connection_responsesrc/lib.rs:174 | fn | 12 | 2 | 5 | 2 | 1.2 | |
| runtime_connection_knownsrc/lib.rs:256 | fn | 3 | 1 | 3 | 2 | 1.1 | |
| dispatch_websocket_pathsrc/lib.rs:206 | fn | 9 | 2 | 2 | 0 | 1.1 | |
| init_appsrc/lib.rs:223 | fn | 6 | 1 | 5 | 1 | 1.1 | |
| dispatch_ws_messagesrc/lib.rs:192 | fn | 4 | 1 | 3 | 1 | 0.7 | |
| register_websocket_path_providersrc/lib.rs:79 | fn | 3 | 1 | 2 | 0 | 0.6 | |
| loopback_socketsrc/lib.rs:585 | nested fn | 5 | 1 | 1 | 0 | 0.6 | |
| outer_overridesrc/lib.rs:427 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| inner_overridesrc/lib.rs:431 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| reached_overridesrc/lib.rs:435 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| connect_app_providersrc/lib.rs:324 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| dispatch_connection_providersrc/lib.rs:328 | fn | 5 | 1 | 1 | 0 | 0.5 | |
| dispatch_app_connection_providersrc/lib.rs:334 | fn | 10 | 1 | 1 | 0 | 0.5 | |
| dispatch_connection_response_providersrc/lib.rs:345 | fn | 9 | 1 | 1 | 0 | 0.5 | |
| dispatch_raw_http_providersrc/lib.rs:355 | fn | 6 | 1 | 1 | 1 | 0.5 | |
| dispatch_ws_message_providersrc/lib.rs:362 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| boot_app_providersrc/lib.rs:366 | fn | 4 | 1 | 1 | 0 | 0.5 | |
| init_app_providersrc/lib.rs:371 | fn | 4 | 1 | 1 | 0 | 0.5 | |
| handle_app_providersrc/lib.rs:376 | fn | 4 | 1 | 1 | 0 | 0.5 | |
| runtime_app_names_providersrc/lib.rs:381 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| runtime_routes_providersrc/lib.rs:385 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| runtime_app_summaries_providersrc/lib.rs:389 | fn | 10 | 1 | 1 | 0 | 0.5 | |
| runtime_app_handles_connection_providersrc/lib.rs:400 | fn | 3 | 2 | 1 | 0 | 0.5 | |
| runtime_connection_has_handler_providersrc/lib.rs:404 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| test_providersrc/lib.rs:408 | fn | 18 | 1 | 1 | 14 | 0.5 | |
| DispatchOverrideGuard::dropsrc/lib.rs:109 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| AllowPolicy::allowssrc/lib.rs:289 | trait impl | 8 | 1 | 0 | 0 | 0.5 | |
| Origin::authenticated_service_idsrc/lib.rs:301 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| Origin::authenticated_service_scopesrc/lib.rs:304 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| thread_override_stands_in_for_connection_dispatch_and_nestssrc/lib.rs:440 | fn | 36 | 1 | 0 | 9 | 0.5 | |
| missing_fallbacks_then_registered_provider_paths_are_stablesrc/lib.rs:478 | fn | 103 | 2 | 0 | 24 | 0.5 | |
| websocket_path_falls_through_until_a_handler_registerssrc/lib.rs:584 | fn | 12 | 2 | 0 | 3 | 0.5 |
Source not readable from this process.