Skip to content

Key-ID Serial / Recycle Scheme #2

@pinkforest

Description

@pinkforest

It would be great to formalize a trait for a "Serial Scheme".

This is basically the key-issuing order or how the keys get generated out.

Say we could have the below traits

  • Incrementing & Deterministic -> from zero to usize::MAX incrementing
  • Random -> random free key
  • Decreasing & Deterministic -> from usize::MAX decreasing

This is more static approach

Other could be more dynamic approach where there is introspection but I'm favoring the static one through Ext type of traits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions