pub enum EthereumServiceError {
Show 13 variants
EthereumQueryError(EthereumQueryError),
ParseIntError(ParseIntError),
DeployError,
UnsupportedEthereumTypeError,
EventParsingError,
ParseBigIntError(ParseBigIntError),
EthereumParsingError,
ParseBoolError,
FromHexError(FromHexError),
JsonError(Error),
RpcError(RpcError<TransportErrorKind>),
UrlParseError(ParseError),
AlloyReqwestError(Error),
}
Variants§
EthereumQueryError(EthereumQueryError)
The database is not coherent
ParseIntError(ParseIntError)
Parsing error
DeployError
UnsupportedEthereumTypeError
EventParsingError
ParseBigIntError(ParseBigIntError)
Parse big int error
EthereumParsingError
Ethereum parsing error
ParseBoolError
Parse bool error
FromHexError(FromHexError)
Hex parsing error
JsonError(Error)
serde_json
error
RpcError(RpcError<TransportErrorKind>)
RPC error
UrlParseError(ParseError)
URL parsing error
AlloyReqwestError(Error)
Alloy Reqwest error
Trait Implementations§
source§impl Debug for EthereumServiceError
impl Debug for EthereumServiceError
source§impl Display for EthereumServiceError
impl Display for EthereumServiceError
source§impl Error for EthereumServiceError
impl Error for EthereumServiceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for EthereumServiceError
impl From<Error> for EthereumServiceError
source§impl From<Error> for EthereumServiceError
impl From<Error> for EthereumServiceError
source§impl From<EthereumQueryError> for EthereumServiceError
impl From<EthereumQueryError> for EthereumServiceError
source§fn from(source: EthereumQueryError) -> Self
fn from(source: EthereumQueryError) -> Self
Converts to this type from the input type.
source§impl From<FromHexError> for EthereumServiceError
impl From<FromHexError> for EthereumServiceError
source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<ParseBigIntError> for EthereumServiceError
impl From<ParseBigIntError> for EthereumServiceError
source§fn from(source: ParseBigIntError) -> Self
fn from(source: ParseBigIntError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for EthereumServiceError
impl From<ParseError> for EthereumServiceError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for EthereumServiceError
impl From<ParseIntError> for EthereumServiceError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<RpcError<TransportErrorKind>> for EthereumServiceError
impl From<RpcError<TransportErrorKind>> for EthereumServiceError
source§fn from(source: RpcError<TransportErrorKind>) -> Self
fn from(source: RpcError<TransportErrorKind>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumServiceError
impl !RefUnwindSafe for EthereumServiceError
impl Send for EthereumServiceError
impl Sync for EthereumServiceError
impl Unpin for EthereumServiceError
impl !UnwindSafe for EthereumServiceError
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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> IntoAnyhow for T
impl<T> IntoAnyhow for T
source§fn into_anyhow(self) -> Error
fn into_anyhow(self) -> Error
Converts
self
into an anyhow::Error
.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 moresource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
source§impl<T> MockResults for T
impl<T> MockResults for T
§type Results = T
type Results = T
The mock native type of the results for the
MockInstance
.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<M, I> RuntimeMemory<&mut I> for Mwhere
M: RuntimeMemory<I>,
impl<M, I> RuntimeMemory<&mut I> for Mwhere
M: RuntimeMemory<I>,
source§fn read<'instance>(
&self,
instance: &'instance &mut I,
location: GuestPointer,
length: u32,
) -> Result<Cow<'instance, [u8]>, RuntimeError>
fn read<'instance>( &self, instance: &'instance &mut I, location: GuestPointer, length: u32, ) -> Result<Cow<'instance, [u8]>, RuntimeError>
Reads length
bytes from memory from the provided location
.
source§fn write(
&mut self,
instance: &mut &mut I,
location: GuestPointer,
bytes: &[u8],
) -> Result<(), RuntimeError>
fn write( &mut self, instance: &mut &mut I, location: GuestPointer, bytes: &[u8], ) -> Result<(), RuntimeError>
Writes the bytes
to memory at the provided location
.
source§impl<T> Upcastable for T
impl<T> Upcastable for T
source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref