Enum ethers::middleware::signer::SignerMiddlewareError [−][src]
pub enum SignerMiddlewareError<M, S> where
M: Middleware,
S: Signer, {
SignerError(<S as Signer>::Error),
MiddlewareError(<M as Middleware>::Error),
NonceMissing,
GasPriceMissing,
GasMissing,
WrongSigner,
}
Expand description
Error thrown when the client interacts with the blockchain
Variants
SignerError(<S as Signer>::Error)
Thrown when the internal call to the signer fails
MiddlewareError(<M as Middleware>::Error)
Tuple Fields
0: <M as Middleware>::Error
Thrown when an internal middleware errors
NonceMissing
Thrown if the nonce
field is missing
GasPriceMissing
Thrown if the gas_price
field is missing
GasMissing
Thrown if the gas
field is missing
WrongSigner
Thrown if a signature is requested from a different address
Trait Implementations
impl<M, S> Debug for SignerMiddlewareError<M, S> where
M: Debug + Middleware,
S: Debug + Signer,
<S as Signer>::Error: Debug,
<M as Middleware>::Error: Debug,
impl<M, S> Debug for SignerMiddlewareError<M, S> where
M: Debug + Middleware,
S: Debug + Signer,
<S as Signer>::Error: Debug,
<M as Middleware>::Error: Debug,
impl<M, S> Error for SignerMiddlewareError<M, S> where
M: Middleware,
S: Signer,
SignerMiddlewareError<M, S>: Debug,
SignerMiddlewareError<M, S>: Display,
impl<M, S> Error for SignerMiddlewareError<M, S> where
M: Middleware,
S: Signer,
SignerMiddlewareError<M, S>: Debug,
SignerMiddlewareError<M, S>: Display,
impl<M, S> FromErr<<M as Middleware>::Error> for SignerMiddlewareError<M, S> where
M: Middleware,
S: Signer,
impl<M, S> FromErr<<M as Middleware>::Error> for SignerMiddlewareError<M, S> where
M: Middleware,
S: Signer,
Auto Trait Implementations
impl<M, S> RefUnwindSafe for SignerMiddlewareError<M, S> where
<M as Middleware>::Error: RefUnwindSafe,
<S as Signer>::Error: RefUnwindSafe,
impl<M, S> Send for SignerMiddlewareError<M, S>
impl<M, S> Sync for SignerMiddlewareError<M, S>
impl<M, S> Unpin for SignerMiddlewareError<M, S> where
<M as Middleware>::Error: Unpin,
<S as Signer>::Error: Unpin,
impl<M, S> UnwindSafe for SignerMiddlewareError<M, S> where
<M as Middleware>::Error: UnwindSafe,
<S as Signer>::Error: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more