Skip to main content

IdGeneratorExecutor

Trait IdGeneratorExecutor 

Source
pub trait IdGeneratorExecutor: DataServiceExecutor {
    // Required method
    fn next_id(
        &self,
        entity: &str,
    ) -> impl Future<Output = Result<u64, Self::Error>> + Send;
}

Required Methods§

Source

fn next_id( &self, entity: &str, ) -> impl Future<Output = Result<u64, Self::Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§