pub trait AwaitTx {
// Required method
async fn await_tx_output<C: QueryUtxoByUtxoId>(
&self,
client: &C,
tx_hash: McTxHash,
) -> Result<()>;
}
Expand description
Trait for different strategies of waiting for a Cardano transaction to complete.
Required Methods§
Sourceasync fn await_tx_output<C: QueryUtxoByUtxoId>(
&self,
client: &C,
tx_hash: McTxHash,
) -> Result<()>
async fn await_tx_output<C: QueryUtxoByUtxoId>( &self, client: &C, tx_hash: McTxHash, ) -> Result<()>
This is used for waiting until the output of a submitted transaction can be observed.
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.