#[non_exhaustive]pub enum SetCodeTransactionDecodeErrorCategory {
MalformedInput,
WrongType,
ResourceExhaustion,
}Expand description
Stable high-level set-code transaction decode error 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.
MalformedInput
Input is malformed for an EIP-7702 transaction.
WrongType
A non-EIP-7702 transaction envelope was supplied.
ResourceExhaustion
The active decode policy rejected the input as too large or too deep.
Trait Implementations§
Source§impl Clone for SetCodeTransactionDecodeErrorCategory
impl Clone for SetCodeTransactionDecodeErrorCategory
Source§fn clone(&self) -> SetCodeTransactionDecodeErrorCategory
fn clone(&self) -> SetCodeTransactionDecodeErrorCategory
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 SetCodeTransactionDecodeErrorCategory
impl Eq for SetCodeTransactionDecodeErrorCategory
Source§impl PartialEq for SetCodeTransactionDecodeErrorCategory
impl PartialEq for SetCodeTransactionDecodeErrorCategory
Source§fn eq(&self, other: &SetCodeTransactionDecodeErrorCategory) -> bool
fn eq(&self, other: &SetCodeTransactionDecodeErrorCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeTransactionDecodeErrorCategory
Auto Trait Implementations§
impl Freeze for SetCodeTransactionDecodeErrorCategory
impl RefUnwindSafe for SetCodeTransactionDecodeErrorCategory
impl Send for SetCodeTransactionDecodeErrorCategory
impl Sync for SetCodeTransactionDecodeErrorCategory
impl Unpin for SetCodeTransactionDecodeErrorCategory
impl UnsafeUnpin for SetCodeTransactionDecodeErrorCategory
impl UnwindSafe for SetCodeTransactionDecodeErrorCategory
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