Skip to main content

Module id_source

Module id_source 

Source
Expand description

New ids, including each install’s 64-bit device id (§10).

Structs§

CircleId
A circle’s identity, independent of its name or current key (§15.5).
DeviceId
One install of the app, by its 64-bit device id (§10).
FileId
A file record’s random identity, independent of its content and of where its bytes are stored (§17.2).
InvalidMemberId
Text that is not a member id’s canonical lowercase hyphenated UUID (D10).
InviteId
An invitation’s identity, independent of its one-time secret (§13.2).
KeyId
A store or circle key’s identity, named by the entry introducing it (§12.1).
MemberId
A member’s random stable identity, independent of their keys (§10). Device ownership, circle membership and slot authors name it; a key replacement keeps it.
NotCanonicalUuid
Text that is not a UUID’s canonical lowercase hyphenated spelling (D10).
ObjectId
A stored object’s random id, the last part of its path <store>/files/<uploader>/<object> (§17.5).
SequentialIds
A deterministic sequence of UUIDs and device ids, starting at one.
StoreId
A store’s identity, independent of its name and location on disk.
UuidIds
Random UUIDv4 ids, independent of the clock (E1).

Traits§

IdSource
The source of new ids, supplied when creating or opening a store.

Functions§

canonical_uuid
The UUID text spells in its one canonical form, lowercase and hyphenated (D10). Any other spelling of the same UUID names nothing.

Type Aliases§

IdSourceRef
A shared source of new ids.