pub enum BlockchainDataProviderError {
AccessError,
BlockchainError(BlockchainError),
RequestResponseError(RequestResponseError),
}Expand description
Provides a standardized way to access blockchain data from many sources
Variants§
Trait Implementations§
Source§impl Debug for BlockchainDataProviderError
impl Debug for BlockchainDataProviderError
Source§impl<'de> Deserialize<'de> for BlockchainDataProviderError
impl<'de> Deserialize<'de> for BlockchainDataProviderError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Error for BlockchainDataProviderError
impl Error for BlockchainDataProviderError
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<BlockchainDataProviderError> for UtilError
impl From<BlockchainDataProviderError> for UtilError
Source§fn from(source: BlockchainDataProviderError) -> Self
fn from(source: BlockchainDataProviderError) -> Self
Converts to this type from the input type.
Source§impl From<BlockchainError> for BlockchainDataProviderError
impl From<BlockchainError> for BlockchainDataProviderError
Source§fn from(source: BlockchainError) -> Self
fn from(source: BlockchainError) -> Self
Converts to this type from the input type.
Source§impl From<RequestResponseError> for BlockchainDataProviderError
impl From<RequestResponseError> for BlockchainDataProviderError
Source§fn from(source: RequestResponseError) -> Self
fn from(source: RequestResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockchainDataProviderError
impl RefUnwindSafe for BlockchainDataProviderError
impl Send for BlockchainDataProviderError
impl Sync for BlockchainDataProviderError
impl Unpin for BlockchainDataProviderError
impl UnwindSafe for BlockchainDataProviderError
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