harmos-runtime 0.1.12

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
use std::marker::PhantomData;

// Third Party Imports

// Local Imports
use harmos_runtime::{Application, state::Never};

/* === Constants === */

/* === Macros === */

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

/* === Structs === */

pub struct App<R = ()>(PhantomData<R>);

/* === Enums === */

/* === Traits === */

/* === Implementations === */

impl<R: Send + Sync + 'static> Application for App<R> {
    type Lanes = super::Lanes;
    type State = ();
    type Transaction = Never;
    type Record = ();
    type Streams = ();
    type Resources = R;
}

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

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

/* === Tests === */