Expand description
This crate provides hyperactor’s mesh abstractions.
Re-exports§
pub use actor_mesh::ActorMesh;pub use actor_mesh::ActorMeshRef;pub use bootstrap::Bootstrap;pub use bootstrap::bootstrap;pub use bootstrap::bootstrap_or_die;pub use casting::CastError;pub use comm::CommActor;pub use global_context::GlobalClientActor;pub use global_context::GlobalContext;pub use global_context::context;pub use global_context::this_host;pub use global_context::this_proc;pub use host_mesh::HostMeshRef;pub use mesh::Mesh;pub use proc_mesh::ProcMesh;pub use proc_mesh::ProcMeshRef;pub use value_mesh::ValueMesh;pub use dashmap;
Modules§
- actor_
mesh - Actor mesh invariants (AM-*)
- alloc
- This module defines a proc allocator interface as well as a multi-process
(local) allocator,
ProcessAllocator. - bootstrap
- Bootstrap invariants (BS-*)
- casting
- Casting utilities for actor meshes.
- comm
- config
- Configuration for Hyperactor Mesh.
- connect
- Actor-based duplex bytestream connections.
- global_
context - Process-global context, root client actor, and supervision bridge.
- host_
mesh - introspect
- Introspection attr keys — mesh-topology concepts.
- logging
- mesh
- mesh_
admin - Mesh-level admin surface for topology introspection and reference walking.
- mesh_
controller - mesh_
selection - namespace
- Namespace-based mesh registry for discovering and connecting to remote meshes.
- proc_
agent - The mesh agent actor manages procs in ProcMeshes.
- proc_
launcher - Proc launching abstraction.
- proc_
mesh - reference
- resource
- This modules defines a set of common message types used for managing resources in hyperactor meshes.
- shared_
cell - shortuuid
- This module implements a “short” (64-bit) UUID, used to assign names to various objects in meshes.
- supervision
- Messages used in supervision of actor meshes.
- test_
utils - testactor
- This module defines a test actor. It is defined in a separate module
(outside of [
crate::testing]) to ensure that it is compiled into the bootstrap binary, which is not built in test mode (and anyway, test mode does not work across crate boundaries) - transport
- Default transport configuration for hyperactor_mesh.
- value_
mesh - Value mesh invariants (VM-*)
Macros§
- extent
- Construct a new extent with the given set of dimension-size pairs.
- ok
- sel
- Parse a compact selection expression into a [
Selection]. See [selection::parse] for syntax documentation.
Enums§
- Codec
Error - Errors that occur during serialization and deserialization.
- Error
- Errors that occur during mesh operations.
- Name
- Names are used to identify objects in the system. They have a user-provided name, and a unique UUID.
- Name
Parse Error - Errors that occur when parsing names.
Type Aliases§
- Result
- The type of result used in
hyperactor_mesh. - Status
Mesh - A mesh of per-rank lifecycle statuses.
- Status
Overlay - A sparse set of
(Range<usize>, Status)updates for aStatusMesh.