pub enum EvmDepositError {
Contract(Error),
PendingApproval(PendingTransactionError),
Multicall(MulticallError),
}Expand description
Errors produced by the EVM-direct deposit helpers in
deposit and deposit_multicall.
Variants§
Contract(Error)
An underlying contract call (allowance read, approve, or deposit) failed.
PendingApproval(PendingTransactionError)
Awaiting inclusion of the approval transaction failed.
Multicall(MulticallError)
Submitting the 7702 multicall transaction failed.
Trait Implementations§
Source§impl Debug for EvmDepositError
impl Debug for EvmDepositError
Source§impl Display for EvmDepositError
impl Display for EvmDepositError
Source§impl Error for EvmDepositError
impl Error for EvmDepositError
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<Error> for EvmDepositError
impl From<Error> for EvmDepositError
Source§impl From<MulticallError> for EvmDepositError
impl From<MulticallError> for EvmDepositError
Source§fn from(source: MulticallError) -> Self
fn from(source: MulticallError) -> Self
Converts to this type from the input type.
Source§impl From<PendingTransactionError> for EvmDepositError
impl From<PendingTransactionError> for EvmDepositError
Source§fn from(source: PendingTransactionError) -> Self
fn from(source: PendingTransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EvmDepositError
impl !UnwindSafe for EvmDepositError
impl Freeze for EvmDepositError
impl Send for EvmDepositError
impl Sync for EvmDepositError
impl Unpin for EvmDepositError
impl UnsafeUnpin for EvmDepositError
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request