#[non_exhaustive]pub enum DeploymentVerificationError {
ReceiptHashMismatch {
tx_hash: TxHash,
receipt: TxHash,
},
AddressMismatch {
tx_hash: TxHash,
predicted: ContractAddress,
},
}Expand description
A receipt that does not confirm the predicted deployment.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReceiptHashMismatch
The receipt belongs to a different transaction.
AddressMismatch
Successful execution did not return the predicted address.
Trait Implementations§
Source§impl Debug for DeploymentVerificationError
impl Debug for DeploymentVerificationError
Source§impl Error for DeploymentVerificationError
impl Error for DeploymentVerificationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DeploymentVerificationError
impl RefUnwindSafe for DeploymentVerificationError
impl Send for DeploymentVerificationError
impl Sync for DeploymentVerificationError
impl Unpin for DeploymentVerificationError
impl UnsafeUnpin for DeploymentVerificationError
impl UnwindSafe for DeploymentVerificationError
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