Skip to main content

AggregatorExecutor

Trait AggregatorExecutor 

Source
pub trait AggregatorExecutor<E: Executor> {
    // Required methods
    fn has_event<A: AggregatorEvent>(
        &self,
        id: impl Into<String>,
    ) -> impl Future<Output = Result<bool>> + Send;
    fn original_version<A: AggregatorEvent>(
        &self,
        id: impl Into<String>,
    ) -> impl Future<Output = Result<Option<u16>>> + Send;
}

Required Methods§

Source

fn has_event<A: AggregatorEvent>( &self, id: impl Into<String>, ) -> impl Future<Output = Result<bool>> + Send

Source

fn original_version<A: AggregatorEvent>( &self, id: impl Into<String>, ) -> impl Future<Output = Result<Option<u16>>> + Send

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.

Implementors§