pub enum BlockInfoError {
L1BlobBaseFeeScalar,
BaseFeeScalar,
Eip1559Denominator,
Eip1559Elasticity,
}
Expand description
An error type for parsing L1 block info transactions.
Variants§
L1BlobBaseFeeScalar
Failed to parse the L1 blob base fee scalar.
BaseFeeScalar
Failed to parse the base fee scalar.
Eip1559Denominator
Failed to parse the EIP-1559 denominator.
Eip1559Elasticity
Failed to parse the EIP-1559 elasticity parameter.
Trait Implementations§
Source§impl Clone for BlockInfoError
impl Clone for BlockInfoError
Source§fn clone(&self) -> BlockInfoError
fn clone(&self) -> BlockInfoError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockInfoError
impl Debug for BlockInfoError
Source§impl Display for BlockInfoError
impl Display for BlockInfoError
Source§impl Error for BlockInfoError
impl Error for BlockInfoError
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()
impl Copy for BlockInfoError
Auto Trait Implementations§
impl Freeze for BlockInfoError
impl RefUnwindSafe for BlockInfoError
impl Send for BlockInfoError
impl Sync for BlockInfoError
impl Unpin for BlockInfoError
impl UnwindSafe for BlockInfoError
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