Enum hdp_provider::evm::provider::ProviderError
source · pub enum ProviderError {
OutOfBoundRequestError(u64, u64),
MismatchedMMRMeta,
MmrNotFound,
IndexerError(IndexerError),
RpcProviderError(RpcProviderError),
EthTrieError(EthTrieError),
FetchKeyError(String),
}Expand description
Error from EvmProvider
Variants§
OutOfBoundRequestError(u64, u64)
Error when the query is invalid
MismatchedMMRMeta
Error when the MMR meta is mismatched among range of requested blocks
MmrNotFound
Error when the MMR is not found
IndexerError(IndexerError)
Error from the Indexer
RpcProviderError(RpcProviderError)
Error from RpcProvider
EthTrieError(EthTrieError)
Error from eth_trie_proofs
FetchKeyError(String)
Trait Implementations§
source§impl Debug for ProviderError
impl Debug for ProviderError
source§impl Display for ProviderError
impl Display for ProviderError
source§impl Error for ProviderError
impl Error for ProviderError
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<EthTrieError> for ProviderError
impl From<EthTrieError> for ProviderError
source§fn from(source: EthTrieError) -> Self
fn from(source: EthTrieError) -> Self
Converts to this type from the input type.
source§impl From<IndexerError> for ProviderError
impl From<IndexerError> for ProviderError
source§fn from(source: IndexerError) -> Self
fn from(source: IndexerError) -> Self
Converts to this type from the input type.
source§impl From<RpcProviderError> for ProviderError
impl From<RpcProviderError> for ProviderError
source§fn from(source: RpcProviderError) -> Self
fn from(source: RpcProviderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProviderError
impl !RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl !UnwindSafe for ProviderError
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more