guinea-core 0.14.1

guinea's core: actors, reducers, scopes and the event bus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Lives here (not in `context`, where the rest of the page/tab-status
//! machinery does) because it's also a port-message payload type used by
//! `app-contracts` - and `app-contracts` shouldn't need `context` (which
//! pulls in the full Slint/winit backend via `guinea`) just for this one
//! enum. `context::page_status` re-exports this type so nothing there needs
//! to change.

#[derive(Clone, Copy, PartialEq, Debug, Default)]
pub enum PageStatus {
    #[default]
    Inactive,
    Loading,
    Ready,
    Error,
}