Enum tendermint_rpc::error::ErrorDetail[][src]

pub enum ErrorDetail {
Show 28 variants Response(ResponseSubdetail), Io(IoSubdetail), Http(HttpSubdetail), Hyper(HyperSubdetail), InvalidParams(InvalidParamsSubdetail), WebSocket(WebSocketSubdetail), WebSocketTimeout(WebSocketTimeoutSubdetail), MethodNotFound(MethodNotFoundSubdetail), Parse(ParseSubdetail), Server(ServerSubdetail), ClientInternal(ClientInternalSubdetail), Timeout(TimeoutSubdetail), ChannelSend(ChannelSendSubdetail), InvalidUrl(InvalidUrlSubdetail), InvalidUri(InvalidUriSubdetail), Tendermint(TendermintSubdetail), ParseInt(ParseIntSubdetail), OutOfRange(OutOfRangeSubdetail), InvalidNetworkAddress(InvalidNetworkAddressSubdetail), MismatchResponse(MismatchResponseSubdetail), UnrecognizedEventType(UnrecognizedEventTypeSubdetail), Serde(SerdeSubdetail), ParseUrl(ParseUrlSubdetail), Tungstenite(TungsteniteSubdetail), Join(JoinSubdetail), MalformedJson(MalformedJsonSubdetail), UnsupportedScheme(UnsupportedSchemeSubdetail), UnsupportedRpcVersion(UnsupportedRpcVersionSubdetail),
}

Variants

Tuple Fields of Response

0: ResponseSubdetail

Tuple Fields of Io

0: IoSubdetail

Tuple Fields of Http

0: HttpSubdetail

Tuple Fields of Hyper

0: HyperSubdetail
InvalidParams(InvalidParamsSubdetail)

Tuple Fields of InvalidParams

0: InvalidParamsSubdetail

Tuple Fields of WebSocket

0: WebSocketSubdetail
WebSocketTimeout(WebSocketTimeoutSubdetail)

Tuple Fields of WebSocketTimeout

0: WebSocketTimeoutSubdetail
MethodNotFound(MethodNotFoundSubdetail)

Tuple Fields of MethodNotFound

0: MethodNotFoundSubdetail

Tuple Fields of Parse

0: ParseSubdetail

Tuple Fields of Server

0: ServerSubdetail
ClientInternal(ClientInternalSubdetail)

Tuple Fields of ClientInternal

0: ClientInternalSubdetail

Tuple Fields of Timeout

0: TimeoutSubdetail

Tuple Fields of ChannelSend

0: ChannelSendSubdetail

Tuple Fields of InvalidUrl

0: InvalidUrlSubdetail

Tuple Fields of InvalidUri

0: InvalidUriSubdetail

Tuple Fields of Tendermint

0: TendermintSubdetail

Tuple Fields of ParseInt

0: ParseIntSubdetail

Tuple Fields of OutOfRange

0: OutOfRangeSubdetail
InvalidNetworkAddress(InvalidNetworkAddressSubdetail)

Tuple Fields of InvalidNetworkAddress

0: InvalidNetworkAddressSubdetail
MismatchResponse(MismatchResponseSubdetail)

Tuple Fields of MismatchResponse

0: MismatchResponseSubdetail
UnrecognizedEventType(UnrecognizedEventTypeSubdetail)

Tuple Fields of UnrecognizedEventType

0: UnrecognizedEventTypeSubdetail

Tuple Fields of Serde

0: SerdeSubdetail

Tuple Fields of ParseUrl

0: ParseUrlSubdetail

Tuple Fields of Tungstenite

0: TungsteniteSubdetail

Tuple Fields of Join

0: JoinSubdetail
MalformedJson(MalformedJsonSubdetail)

Tuple Fields of MalformedJson

0: MalformedJsonSubdetail
UnsupportedScheme(UnsupportedSchemeSubdetail)

Tuple Fields of UnsupportedScheme

0: UnsupportedSchemeSubdetail
UnsupportedRpcVersion(UnsupportedRpcVersionSubdetail)

Tuple Fields of UnsupportedRpcVersion

0: UnsupportedRpcVersionSubdetail

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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