logo
pub trait IdentityGenerableInterface where
    Self: IdentityInterface + Default
{ fn next(&self) -> Self; fn is_valid(&self) -> bool; fn first() -> Self { ... } }
Expand description

Interface to identify an instance of somthing with ability to increase it to generate a new one.

Required Methods

Generate a new identity based on the current increasing it.

Check is the identity valid.

Provided Methods

Generate the first identity.

Implementors