pub trait InsertT: Sync + Send {
// Required method
fn insert(
&self,
pool: &PgPool,
tx_hash: &Option<B256>,
) -> impl Future<Output = Result<(), Error>> + Send;
}Required Methods§
fn insert( &self, pool: &PgPool, tx_hash: &Option<B256>, ) -> impl Future<Output = Result<(), Error>> + 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.