harmos-runtime 0.1.6

Harmos runtime: managed state, undo, recovery, background work and typed streams.
Documentation
/* ***
 *
 * Harmos
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * ***
 */

/* === Modules === */

/* === Re-Exports === */

/* === Imports === */

// Standard Library Imports

// Third Party Imports

// Local Imports

/* === Constants === */

/* === Macros === */

/* === Type Aliases === */

/* === Structs === */

/* === Enums === */

/* === Traits === */

pub trait Application: Send + Sync + 'static {
    type State: Send + Sync + 'static;

    type Transaction: crate::state::Transaction<Self::State, Error: Send + Sync + 'static>
        + crate::state::TransactionCatalog<Self::State>
        + Send
        + Sync
        + 'static;

    type Record: crate::state::RecordCatalog + Send + Sync + 'static;

    type Streams: Send + Sync + 'static;

    type Resources: Send + Sync + 'static;
}

/* === Implementations === */

/* === Public Functions === */

/* === Private Functions === */

/* === Tests === */