pub trait UlidExt {
    // Required method
    fn create() -> Self;
}
Expand description

Extension trait for Ulid.

Required Methods§

fn create() -> Self

Constructor that) is the same as Ulid::new(), but that works on WASM, too using the [instant] crate.

Object Safety§

This trait is not object safe.

Implementors§

§

impl UlidExt for Ulid