euv-core 0.52.1

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
/// Health state of an `ErrorBoundary` fault-isolation domain.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum ErrorBoundaryState {
    /// Boundary has no active consecutive faults and runs protected callbacks normally.
    #[default]
    Healthy,
    /// Boundary caught one or more recent panics below its trip threshold and remains operational.
    Degraded,
    /// Boundary reached its consecutive panic threshold and requires explicit recovery.
    Tripped,
}

/// Runtime execution site where a panic was intercepted by an `ErrorBoundary`.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum FaultOrigin {
    /// Application event handler or widget callback.
    #[default]
    UserCallback,
    /// Reactive `Effect` or derived observer closure.
    ReactiveEffect,
    /// Custom canvas, scene, or platform render hook.
    RenderHook,
    /// Cross-thread task drained by `UiDispatcher`.
    DispatcherTask,
    /// Asset decode or lifecycle callback.
    AssetLoader,
}