Module uuid::prelude[][src]

The uuid prelude.

This module contains the most important items of the uuid crate.

To use the prelude, include the following in your crate root:

extern crate uuid;

and the following in every module:

use uuid::prelude::*;

Prelude Contents

Currently the prelude reexports the following:

uuid::{Uuid, UuidVariant, UuidVersion}: The fundamental types used in uuid crate.

uuid::v1::{UuidClockSequence,Context}: The types useful for handling uuid version 1. Requires feature v1.

Structs

Context

A thread-safe, stateful context for the v1 generator to help ensure process-wide uniqueness.

Uuid

A Universally Unique Identifier (UUID).

Enums

Variant

The reserved variants of UUIDs.

Version

The version of the UUID, denoting the generating algorithm.

Traits

ClockSequence

A trait that abstracts over generation of Uuid v1 "Clock Sequence" values.

Type Definitions

Bytes

A 128-bit (16 byte) buffer containing the ID.