Enum ethers_flashbots::FlashbotsMiddlewareError [−][src]
pub enum FlashbotsMiddlewareError<M: Middleware, S: Signer> {
MissingParameters,
RelayError(RelayError<S>),
MiddlewareError(M::Error),
}Expand description
Errors for the Flashbots middleware.
Variants
MissingParameters
Some parameters were missing.
For bundle simulation, check that the following are set:
simulation_blocksimulation_timestampblock
For bundle submission, check that the following are set:
block
Additionally, min_timestamp and max_timestamp must
both be set or unset.
RelayError(RelayError<S>)
Tuple Fields
0: RelayError<S>The relay responded with an error.
MiddlewareError(M::Error)
An error occured in one of the middlewares.
Trait Implementations
impl<M: Middleware, S: Signer> Display for FlashbotsMiddlewareError<M, S> where
RelayError<S>: Display,
impl<M: Middleware, S: Signer> Display for FlashbotsMiddlewareError<M, S> where
RelayError<S>: Display,
impl<M: Middleware, S: Signer> Error for FlashbotsMiddlewareError<M, S> where
RelayError<S>: Error,
Self: Debug + Display,
impl<M: Middleware, S: Signer> Error for FlashbotsMiddlewareError<M, S> where
RelayError<S>: Error,
Self: Debug + Display,
Performs the conversion.
impl<M: Middleware, S: Signer> FromErr<<M as Middleware>::Error> for FlashbotsMiddlewareError<M, S>
impl<M: Middleware, S: Signer> FromErr<<M as Middleware>::Error> for FlashbotsMiddlewareError<M, S>
Auto Trait Implementations
impl<M, S> !RefUnwindSafe for FlashbotsMiddlewareError<M, S>
impl<M, S> Send for FlashbotsMiddlewareError<M, S>
impl<M, S> Sync for FlashbotsMiddlewareError<M, S>
impl<M, S> Unpin for FlashbotsMiddlewareError<M, S> where
<M as Middleware>::Error: Unpin,
<S as Signer>::Error: Unpin,
impl<M, S> !UnwindSafe for FlashbotsMiddlewareError<M, S>
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
