Enum ethers_tx_handler::types::TxErrors
source · pub enum TxErrors {
NoReceipt(H256),
Reverted(TransactionReceipt),
Failed(String),
}Expand description
enum for the 3 different types of failures
Variants§
NoReceipt(H256)
Transaction went through, but reciept is None
Reverted(TransactionReceipt)
Transaction reverted
Failed(String)
Transaction failed to send or mine
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TxErrors
impl Send for TxErrors
impl Sync for TxErrors
impl Unpin for TxErrors
impl UnwindSafe for TxErrors
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more