Crate yauuid

Source
Expand description

Generate and parse UUIDs.

A universally unique identifier (UUID) is a 128-bit number used to identify information in computer systems. The term globally unique identifier (GUID) is also used.

When generated according to the standard methods, UUIDs are for practical purposes unique, without depending for their uniqueness on a central registration authority or coordination between the parties generating them, unlike most other numbering schemes.

While the probability that a UUID will be duplicated is not zero, it is close enough to zero to be negligible.

Re-exports§

pub use node::Node;
pub use v1::Context;
pub use v1::TimeClockSequence;
pub use v2::Domain;

Modules§

node
NodeID represent a MAC address.
v1
The implementation for Version 1 UUIDs.
v2
The implementation for Version 2 UUIDs which is based on Version 1 UUID.
v3
The implementation for Version 3 UUIDs by Md5 hashing.
v4
The implementation for Version 4 UUIDs which produces a random UUID.
v5
The implementation for Version 5 UUIDs by Sha1 hashing.

Structs§

Hyphenated
A hyphenated format of Uuid which takes ownership of Uuid
HyphenatedRef
A hyphenated format of Uuid which takes reference of Uuid
InvalidUuid
The invalid UUID error that can throw when parsing str.
Simple
A simple format of Uuid which takes ownership of Uuid
SimpleRef
A simple format of Uuid which takes reference of Uuid
Urn
A urn format of Uuid which takes ownership of Uuid
UrnRef
A urn format of Uuid which takes reference of Uuid
Uuid
A UUID represented by a 16 bytes array
Version
The version of the UUID

Enums§

Variant
The variant of the UUID