pub trait AuthMempool_AuthMempool1: Send + Sync {
// Required methods
fn authmempool_verify_transactions(
&self,
arg0: BlockHeight,
arg1: SignedTransactionBatch,
) -> impl Future<Output = Result<impl EncodesAs<AuthErrorCodeBatch>, ProgramError>> + Send;
fn authmempool_verify_batch(
&self,
arg0: BlockHeight,
arg1: SignedTransactionBatch,
) -> impl Future<Output = Result<impl EncodesAs<AuthErrorCode>, ProgramError>> + Send;
}Expand description
Each handler replies with anything that encodes like the reply type.
Implementations can be plain async fns returning a concrete reply type
under #[allow(refining_impl_trait)].
Required Methods§
fn authmempool_verify_transactions( &self, arg0: BlockHeight, arg1: SignedTransactionBatch, ) -> impl Future<Output = Result<impl EncodesAs<AuthErrorCodeBatch>, ProgramError>> + Send
fn authmempool_verify_batch( &self, arg0: BlockHeight, arg1: SignedTransactionBatch, ) -> impl Future<Output = Result<impl EncodesAs<AuthErrorCode>, ProgramError>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".