Module mz_ore::id_gen

source ·
Expand description

ID generation utilities.

Modules§

Structs§

Enums§

  • A clone-able owned reference to an ID.

Constants§

  • Max (inclusive) connection id that can be produced.
  • Number of bits the org id is offset into a connection id.

Traits§

Functions§

  • Returns the portion of the org’s UUID present in connection id.
  • Extracts the lower 12 bits from an org id. These are later used as the [31, 20] bits of a connection id to help route cancellation requests.
  • Generate a random temporary ID.

Type Aliases§