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 dedup;
8mod domain;
9mod error;
10mod object;
11mod pending;
12mod runtime;
13mod scope;
14mod wire;
15
16pub use action::{Action, Segments, WireValue};
17pub use domain::{DomainConfig, DomainStats};
18pub use error::{ActionError, ResourceKind, RuntimeError, RuntimeState};
19pub use hataori_runtime_foundation::protocol::{ActionId, DomainId, LocalityId};
20pub use object::{
21    ColocatedFuture, CreateFuture, DistributedObject, LeaseTransfer, MigrationFuture,
22    MigrationReport, MobileObject, Mobility, ObjectAccess, ObjectCallFuture, ObjectConcurrency,
23    ObjectLimits, ObjectReadAction, ObjectRoot, ObjectStats, ObjectWriteAction, PlacementFallback,
24    PlacementFuture, Remote, RestoreContext, RootedCreateFuture, TransferFuture, UpgradeFuture,
25    WeakRemote,
26};
27pub use pending::RemoteFuture;
28pub use runtime::{
29    Place, Runtime, RuntimeBuilder, RuntimeClient, RuntimeLimits, RuntimeProgress, RuntimeStats,
30    ShutdownReport, SpawnOptions,
31};
32pub use scope::{RuntimeScope, ScopedFuture};