Skip to main content

hataori_runtime/
lib.rs

1//! Long-lived bounded runtime and typed structured remote execution.
2//!
3//! Phase B structured execution, Phase C remote objects, and Phase D explicit
4//! migration build on `hataori-runtime-foundation` without exposing backend types.
5
6mod action;
7mod atomic;
8mod dedup;
9mod domain;
10mod error;
11mod object;
12mod pending;
13mod runtime;
14mod scope;
15mod wire;
16
17pub use action::{Action, Segments, WireValue};
18pub use domain::{DomainConfig, DomainStats};
19pub use error::{ActionError, ResourceKind, RuntimeError, RuntimeState};
20pub use hataori_runtime_foundation::protocol::{ActionId, DomainId, LocalityId};
21pub use object::{
22    ColocatedFuture, CreateFuture, DistributedObject, LeaseTransfer, MigrationFuture,
23    MigrationReport, MobileObject, Mobility, ObjectAccess, ObjectCallFuture, ObjectConcurrency,
24    ObjectLimits, ObjectReadAction, ObjectRoot, ObjectStats, ObjectWriteAction, PlacementFallback,
25    PlacementFuture, Remote, RestoreContext, RootedCreateFuture, TransferFuture, UpgradeFuture,
26    WeakRemote,
27};
28pub use pending::RemoteFuture;
29pub use runtime::{
30    Place, Runtime, RuntimeBuilder, RuntimeClient, RuntimeLimits, RuntimeProgress, RuntimeStats,
31    ShutdownReport, SpawnOptions,
32};
33pub use scope::{RuntimeScope, ScopedFuture};