Enum cryptoapis::apis::zilliqa_api::GetZilliqaBlockDetailsByBlockHashError[][src]

pub enum GetZilliqaBlockDetailsByBlockHashError {
    Status400(InvalidPagination),
    Status401(InvalidApiKey),
    Status402(InsufficientCredits),
    Status403(FeatureMainnetsNotAllowedForPlan),
    Status404(BlockchainDataBlockNotFound),
    Status409(InvalidData),
    Status415(UnsupportedMediaType),
    Status422(InvalidRequestBodyStructure),
    Status429(RequestLimitReached),
    Status500(UnexpectedServerError),
    UnknownValue(Value),
}
Expand description

struct for typed errors of method get_zilliqa_block_details_by_block_hash

Variants

Tuple Fields of Status400

0: InvalidPagination
Status401(InvalidApiKey)

Tuple Fields of Status401

0: InvalidApiKey

Tuple Fields of Status402

0: InsufficientCredits

Tuple Fields of Status403

0: FeatureMainnetsNotAllowedForPlan

Tuple Fields of Status404

0: BlockchainDataBlockNotFound
Status409(InvalidData)

Tuple Fields of Status409

0: InvalidData

Tuple Fields of Status415

0: UnsupportedMediaType

Tuple Fields of Status422

0: InvalidRequestBodyStructure

Tuple Fields of Status429

0: RequestLimitReached

Tuple Fields of Status500

0: UnexpectedServerError
UnknownValue(Value)

Tuple Fields of UnknownValue

0: Value

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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

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.

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

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