pub enum OpBlockConversionError {
InvalidGenesisHash(B256, B256),
InvalidTxType(u8),
L1InfoError(DecodeError),
MissingSystemConfigGenesis,
EmptyTransactions(B256),
Eip1559DecodeError,
}
Expand description
An error encountered during OpBlock conversion.
Variants§
InvalidGenesisHash(B256, B256)
Invalid genesis hash.
InvalidTxType(u8)
Invalid transaction type.
L1InfoError(DecodeError)
L1 Info error
MissingSystemConfigGenesis
Missing system config in genesis block.
EmptyTransactions(B256)
Empty transactions.
Eip1559DecodeError
EIP-1559 parameter decoding error.
Trait Implementations§
Source§impl Debug for OpBlockConversionError
impl Debug for OpBlockConversionError
Source§impl Display for OpBlockConversionError
impl Display for OpBlockConversionError
Source§impl Error for OpBlockConversionError
impl Error for OpBlockConversionError
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()
Source§impl From<DecodeError> for OpBlockConversionError
impl From<DecodeError> for OpBlockConversionError
Source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpBlockConversionError
impl RefUnwindSafe for OpBlockConversionError
impl Send for OpBlockConversionError
impl Sync for OpBlockConversionError
impl Unpin for OpBlockConversionError
impl UnwindSafe for OpBlockConversionError
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