Expand description
KafkaUuid — 128-bit UUID with Kafka-specific encoding.
Wraps uuid::Uuid and adds:
- Base64 URL-safe (no padding) string format — matches the Java client and topic-id wire format.
- Reserved constants (
KafkaUuid::ZERO,KafkaUuid::ONE,KafkaUuid::METADATA_TOPIC_ID). KafkaUuid::randomthat avoids reserved values and base64 reps that start with-.
Re-exports§
pub use self::error::UuidError;
Modules§
- error
- Error types for
crate::uuid.
Structs§
- Kafka
Uuid - 128-bit UUID with Kafka-specific encoding semantics.
Functions§
- read_
uuid - Read a UUID (16 bytes, raw).
- write_
uuid - Write a UUID (16 bytes, raw).
Type Aliases§
- Result
- Result alias for UUID parse operations.