Module resource

Source
Expand description

This modules defines a set of common message types used for managing resources in hyperactor meshes.

Structs§

CreateOrUpdate
Create or update a resource according to a spec.
GetRankStatus
Get the status of a resource at a rank. This message is designed to be cast and efficiently accumulated.
GetState
Retrieve the current state of the resource.
Rank
Data type used to communicate ranks. Implements Bind and Unbind; the comm actor replaces instances with the delivered rank.
RankedValues
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.

Enums§

Status
The current lifecycle status of a resource.

Traits§

CreateOrUpdateClient
The custom client trait for this message type.
CreateOrUpdateHandler
The custom handler trait for this message type.
GetRankStatusClient
The custom client trait for this message type.
GetRankStatusHandler
The custom handler trait for this message type.
GetStateClient
The custom client trait for this message type.
GetStateHandler
The custom handler trait for this message type.