Expand description
This modules defines a set of common message types used for managing resources in hyperactor meshes.
Modules§
Structs§
- Controller
- The generated behavior struct.
- Create
OrUpdate - Create or update a resource according to a spec.
- GetRank
Status - Get the status of a resource across the mesh.
- GetState
- Retrieve the current state of the resource.
- Rank
- Data type used to communicate ranks.
Implements
BindandUnbind; the comm actor replaces instances with the delivered rank. - Ranked
Values - RankedValues compactly represents rank-indexed values of type T. It stores contiguous values in a set of intervals; thus it is efficient and compact when the cardinality of T-typed values is low.
- State
- The state of a resource.
- Stop
- Stop a resource according to a spec.
- StopAll
- Stop all resources owned by the receiver of this message. No reply, this just issues the stop command. Use GetRankStatus to determine if it has successfully stopped.
- Values
ByRank - An inverted index of RankedValues, providing all ranks for which each unique T-typed value appears.
Enums§
- Status
- The current lifecycle status of a resource.
Traits§
- Create
OrUpdate Client - The custom client trait for this message type.
- Create
OrUpdate Handler - The custom handler trait for this message type.
- GetRank
Status Client - The custom client trait for this message type.
- GetRank
Status Handler - The custom handler trait for this message type.
- GetState
Client - The custom client trait for this message type.
- GetState
Handler - The custom handler trait for this message type.
- Resource
- A trait that bundles a set of types that together define a resource.
- Stop
AllClient - The custom client trait for this message type.
- Stop
AllHandler - The custom handler trait for this message type.
- Stop
Client - The custom client trait for this message type.
- Stop
Handler - The custom handler trait for this message type.