pub trait CallHandlerExt<T> {
// Required method
fn almost_sync_call(
self,
builder_date: &BuilderData,
utxo_manager: &SharedUtxoManager,
tx_config: &Option<TransactionConfig>,
dry_run_client: Option<&FuelClient>,
submit_clients: &[FuelClient],
) -> impl Future<Output = FuelsResult<SendResult<FuelsResult<CallResponse<T>>>>>;
}Required Methods§
Sourcefn almost_sync_call(
self,
builder_date: &BuilderData,
utxo_manager: &SharedUtxoManager,
tx_config: &Option<TransactionConfig>,
dry_run_client: Option<&FuelClient>,
submit_clients: &[FuelClient],
) -> impl Future<Output = FuelsResult<SendResult<FuelsResult<CallResponse<T>>>>>
fn almost_sync_call( self, builder_date: &BuilderData, utxo_manager: &SharedUtxoManager, tx_config: &Option<TransactionConfig>, dry_run_client: Option<&FuelClient>, submit_clients: &[FuelClient], ) -> impl Future<Output = FuelsResult<SendResult<FuelsResult<CallResponse<T>>>>>
Assemble, dry-run-estimate (if configured), submit, and await the status of a contract call.
dry_run_client, when Some, is used for gas-estimation dry-runs;
submit_clients, when non-empty, is fanned out for the actual
submission — the first client to return a valid status wins. When
dry_run_client is None or submit_clients is empty, the
account’s provider client is used as a fallback. This lets callers
route dry-runs to a general-purpose sentry and submissions to one
or more dedicated nodes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".