Enum ethers_flashbots::RelayError [−][src]
pub enum RelayError<S: Signer> {
RequestError(ReqwestError),
JsonRpcError(JsonRpcError),
ClientError {
text: String,
},
RequestSerdeJson(Error),
SignerError(S::Error),
ResponseSerdeJson {
err: Error,
text: String,
},
}Expand description
Errors for relay requests.
Variants
RequestError(ReqwestError)
Tuple Fields
0: ReqwestErrorThe request failed.
JsonRpcError(JsonRpcError)
The request could not be parsed.
ClientError
Fields
text: StringThe request parameters were invalid.
RequestSerdeJson(Error)
Tuple Fields
0: ErrorThe request could not be serialized.
SignerError(S::Error)
The request could not be signed.
ResponseSerdeJson
The response could not be deserialized.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<S> !RefUnwindSafe for RelayError<S>
impl<S> Send for RelayError<S>
impl<S> Sync for RelayError<S>
impl<S> Unpin for RelayError<S> where
<S as Signer>::Error: Unpin,
impl<S> !UnwindSafe for RelayError<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
