#[non_exhaustive]pub enum SetCodeTransactionValidityErrorCategory {
Fork,
Fee,
Gas,
Authorization,
AccountState,
}Expand description
Stable high-level set-code transaction validity categories.
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.
Fork
Fork or chain context rejected the transaction.
Fee
Fee policy rejected the transaction.
Gas
Gas policy rejected the transaction.
Authorization
Authorization-list policy rejected the transaction.
AccountState
Authority account-state policy rejected the transaction.
Trait Implementations§
Source§impl Clone for SetCodeTransactionValidityErrorCategory
impl Clone for SetCodeTransactionValidityErrorCategory
Source§fn clone(&self) -> SetCodeTransactionValidityErrorCategory
fn clone(&self) -> SetCodeTransactionValidityErrorCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetCodeTransactionValidityErrorCategory
impl Eq for SetCodeTransactionValidityErrorCategory
Source§impl PartialEq for SetCodeTransactionValidityErrorCategory
impl PartialEq for SetCodeTransactionValidityErrorCategory
Source§fn eq(&self, other: &SetCodeTransactionValidityErrorCategory) -> bool
fn eq(&self, other: &SetCodeTransactionValidityErrorCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeTransactionValidityErrorCategory
Auto Trait Implementations§
impl Freeze for SetCodeTransactionValidityErrorCategory
impl RefUnwindSafe for SetCodeTransactionValidityErrorCategory
impl Send for SetCodeTransactionValidityErrorCategory
impl Sync for SetCodeTransactionValidityErrorCategory
impl Unpin for SetCodeTransactionValidityErrorCategory
impl UnsafeUnpin for SetCodeTransactionValidityErrorCategory
impl UnwindSafe for SetCodeTransactionValidityErrorCategory
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