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§
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
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.