Skip to main content

Module tls_set

Module tls_set 

Source
Expand description

A deterministic, sorted set with TLS codec serialization.

TlsSet is backed by a TlsMap<K, ()>, inheriting deterministic serialization, O(log n) lookup, and O(n) insert/remove.

Since () serializes as zero bytes in TLS codec, the wire format is effectively vlen(total_byte_length) || key[0] || key[1] || ....

Structs§

TlsKeyHash
A SHA-256 hash of a key’s TLS-serialized form, used as the lookup token for TlsSetMutation::RemoveByHash.
TlsSet
A sorted set with deterministic TLS codec serialization.
TlsSetDelta
A batch of mutations to apply atomically to a TlsSet.

Enums§

TlsSetError
Error type for TlsSet operations.
TlsSetMutation
A mutation to apply to a TlsSet.