/// 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 const DISPATCHER_ERR_QUEUE_FULL: &str = "UI dispatcher queue capacity exceeded";
/// Diagnostic error message returned when posting to a closed `UiDispatcher`.
pub const DISPATCHER_ERR_CLOSED: &str = "UI dispatcher is closed";
/// Diagnostic error message returned when the internal queue mutex is poisoned.
pub const DISPATCHER_ERR_LOCK_POISONED: &str = "UI dispatcher queue lock poisoned";
/// Scope identifier attributed to panics caught while draining `UiDispatcher` tasks.
pub const DISPATCHER_FAULT_SCOPE: &str = "ui_dispatcher";