Enum evm_rpc::error::Error [−][src]
Variants
Fields of HexError
input_data: String
source: FromHexError
Fields of InvalidHexPrefix
input_data: String
Fields of RlpError
Fields of IntError
input_data: String
source: ParseIntError
Fields of BigIntError
input_data: String
source: FromHexError
Fields of BlockNotFound
block: BlockNum
Fields of StateNotFoundForBlock
block: String
Fields of ProxyRpcError
source: JRpcError
Fields of EvmStateError
source: Error
Fields of Unimplemented
Fields of KeyNotFound
account: H160
Fields of CallRevert
data: Bytes
error: ExitRevert
Fields of CallFatal
error: ExitFatal
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
impl ErrorCompat for Error
[src]
impl From<Error> for JRpcError
[src]
impl<__T0> IntoError<Error> for HexError<__T0> where
Error: Error + ErrorCompat,
__T0: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
type Source = FromHexError
The underlying error
fn into_error(self, error: Self::Source) -> Error
[src]
impl<__T0> IntoError<Error> for InvalidHexPrefix<__T0> where
Error: Error + ErrorCompat,
__T0: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
impl IntoError<Error> for EvmStateError where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl IntoError<Error> for Unimplemented where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl<__T0, __T1> IntoError<Error> for WrongChainId<__T0, __T1> where
Error: Error + ErrorCompat,
__T0: Into<u64>,
__T1: Into<Option<u64>>,
[src]
Error: Error + ErrorCompat,
__T0: Into<u64>,
__T1: Into<Option<u64>>,
impl<__T0> IntoError<Error> for KeyNotFound<__T0> where
Error: Error + ErrorCompat,
__T0: Into<H160>,
[src]
Error: Error + ErrorCompat,
__T0: Into<H160>,
impl<__T0, __T1> IntoError<Error> for CallError<__T0, __T1> where
Error: Error + ErrorCompat,
__T0: Into<Bytes>,
__T1: Into<ExitError>,
[src]
Error: Error + ErrorCompat,
__T0: Into<Bytes>,
__T1: Into<ExitError>,
impl<__T0, __T1> IntoError<Error> for CallRevert<__T0, __T1> where
Error: Error + ErrorCompat,
__T0: Into<Bytes>,
__T1: Into<ExitRevert>,
[src]
Error: Error + ErrorCompat,
__T0: Into<Bytes>,
__T1: Into<ExitRevert>,
impl<__T0> IntoError<Error> for CallFatal<__T0> where
Error: Error + ErrorCompat,
__T0: Into<ExitFatal>,
[src]
Error: Error + ErrorCompat,
__T0: Into<ExitFatal>,
impl<__T0, __T1> IntoError<Error> for RlpError<__T0, __T1> where
Error: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
type Source = DecoderError
The underlying error
fn into_error(self, error: Self::Source) -> Error
[src]
impl<__T0> IntoError<Error> for IntError<__T0> where
Error: Error + ErrorCompat,
__T0: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
type Source = ParseIntError
The underlying error
fn into_error(self, error: Self::Source) -> Error
[src]
impl<__T0> IntoError<Error> for BigIntError<__T0> where
Error: Error + ErrorCompat,
__T0: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
type Source = FromHexError
The underlying error
fn into_error(self, error: Self::Source) -> Error
[src]
impl<__T0, __T1> IntoError<Error> for BigIntTrimFailed<__T0, __T1> where
Error: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
impl<__T0> IntoError<Error> for BlockNotFound<__T0> where
Error: Error + ErrorCompat,
__T0: Into<BlockNum>,
[src]
Error: Error + ErrorCompat,
__T0: Into<BlockNum>,
impl<__T0> IntoError<Error> for StateNotFoundForBlock<__T0> where
Error: Error + ErrorCompat,
__T0: Into<String>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
impl IntoError<Error> for ProxyRpcError where
Error: Error + ErrorCompat,
[src]
Error: Error + ErrorCompat,
impl<__T0, __T1> IntoError<Error> for NativeRpcError<__T0, __T1> where
Error: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<bool>,
[src]
Error: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<bool>,
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
pub fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
pub fn name(&self) -> Option<&str>
[src]
pub fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,