[][src]Trait yauuid::v1::TimeClockSequence

pub trait TimeClockSequence {
    fn gen(&mut self) -> (u64, u16);
}

A trait that abstracts over generation of Time and ClockSequence

Required methods

fn gen(&mut self) -> (u64, u16)

Returns a 64-bit Time and a 16-bit number that will be used as the "clock sequence" in the UUID. The number must be different if the time go backwards.

Loading content...

Implementors

impl TimeClockSequence for Context[src]

Loading content...