Trait type_ulid::TypeUlidDynamic

source ·
pub trait TypeUlidDynamic: Sealed {
    // Required method
    fn ulid(&self) -> Ulid;
}
Expand description

Allows reading a type’s Ulid from the context of a trait object when the concrete Rust type is not known at compile time.

This trait is automatically implemented for every type that implements TypeUlid and is sealed to make it impossible to implement manually for custom types.

Required Methods§

source

fn ulid(&self) -> Ulid

Implementors§