Module fil_actors_shared::v14::util

source ·

Modules§

Structs§

  • Builder for ActorEvent objects, accumulating key/value pairs.
  • Wraps a HAMT to provide a convenient map API. Any errors are returned with exit code indicating illegal state. The name is not persisted in state, but adorns any error messages.
  • Accumulates a sequence of messages (e.g. validation failures).
  • Multimap stores multiple values per key in a Hamt of Amts. The order of insertion of values for each key is retained.
  • Set is a HAMT with empty values.
  • SetMultimap is a HAMT with values that are also a HAMT treated as a set of keys.

Constants§

Traits§

  • Trait to allow multiple error types to be able to be downcasted into an ActorError.

Functions§

  • Computes a batch return that is the result of a sequence of batch returns applied to the previous successful results. Each batch’s size() must be equal to the previous batch’s success_count. Any fail codes then override the prior stack’s successful items, indexed against only those successful items. E.g. stack([OK, E1, OK, E2], [OK, E3], [E4]) => [E4, E1, E3, E2]

Type Aliases§