euv-core 0.51.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Default maximum number of pending UI mutations buffered by `UiDispatcher`.
pub const DEFAULT_DISPATCHER_CAPACITY: usize = 4_096;

/// Default maximum number of queued UI mutations drained per frame budget call.
pub const DEFAULT_DISPATCHER_BATCH_LIMIT: usize = 256;

/// Diagnostic error message returned when a bounded `UiDispatcher` rejects a task under `RejectNew` backpressure.
pub(crate) const DISPATCHER_ERR_QUEUE_FULL: &str = "UI dispatcher queue capacity exceeded";

/// Diagnostic error message returned when posting to a closed `UiDispatcher`.
pub(crate) const DISPATCHER_ERR_CLOSED: &str = "UI dispatcher is closed";

/// Diagnostic error message returned when the internal queue mutex is poisoned.
pub(crate) const DISPATCHER_ERR_LOCK_POISONED: &str = "UI dispatcher queue lock poisoned";

/// Scope identifier attributed to panics caught while draining `UiDispatcher` tasks.
pub(crate) const DISPATCHER_FAULT_SCOPE: &str = "ui_dispatcher";