pub trait UlidExt {
// Required method
fn create() -> Self;
}Expand description
Extension trait for Ulid.
Required Methods§
Sourcefn create() -> Self
fn create() -> Self
Constructor that) is the same as Ulid::new(), but that works on WASM, too using the
instant crate.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.