pub struct RuntimeDebugStats {Show 16 fields
pub node_updates_len: usize,
pub node_updates_cap: usize,
pub invalid_scopes_len: usize,
pub scope_queue_len: usize,
pub scope_queue_cap: usize,
pub frame_callbacks_len: usize,
pub frame_callbacks_cap: usize,
pub local_tasks_len: usize,
pub local_tasks_cap: usize,
pub ui_conts_len: usize,
pub ui_conts_cap: usize,
pub tasks_len: usize,
pub tasks_cap: usize,
pub external_state_owners_len: usize,
pub external_state_owners_cap: usize,
pub ui_dispatcher_pending: usize,
}Expand description
Sizes of a runtime’s queues and tables, for leak and memory checks. A _len field counts
entries and a _cap field the capacity reserved.
Fields§
§node_updates_len: usizeNode updates queued and not yet applied.
node_updates_cap: usizeCapacity reserved for the node updates.
invalid_scopes_len: usizeRecompose scopes that were invalidated and not yet recomposed.
scope_queue_len: usizeEntries in the queue of invalidated scopes.
scope_queue_cap: usizeCapacity reserved for the invalid scope queue.
frame_callbacks_len: usizeFrame callbacks waiting for the next frame.
frame_callbacks_cap: usizeCapacity reserved for the frame callbacks.
local_tasks_len: usizeUI-thread closures queued by enqueue_ui_task and not yet run.
local_tasks_cap: usizeCapacity reserved for the local tasks.
ui_conts_len: usizeUI continuations registered and waiting for a value.
ui_conts_cap: usizeCapacity reserved for the UI continuations.
tasks_len: usizeFutures from spawn_ui that have not finished.
tasks_cap: usizeCapacity reserved for the spawned tasks.
external_state_owners_len: usizeStates kept alive on behalf of the runtime itself, not of a Rust owner.
external_state_owners_cap: usizeCapacity reserved for the external state owners.
ui_dispatcher_pending: usizeMessages posted from other threads that the UI thread has not run yet.