[][src]Module wascc_codec::extras

Extras

Miscellaneous operations that might be common across many different types of actors that shouldn't require a full capability provider plugin, like random numbers, sequence numbers, etc.

Structs

GeneratorRequest

A request for the generation of numbers that standalone actors cannot normally produce because they require random numbers or cryptography libraries. This struct has been flattened and avoids enum variants to maintain a high level of msgpack serialization compatibility with other languages and parsers.

GeneratorResult

The results of a generation request. The struct has been flattened rather than using an enum variant in order to make serialization compatibility easier with other parsers that might not handle enums in a predictable way.

Constants

OP_REQUEST_GUID

The operation to request the generation of a GUID

OP_REQUEST_RANDOM

The operation to request a random number with an optional range

OP_REQUEST_SEQUENCE

The operation to request a new sequence number