Enum mtgapi_client::api::error::MtgApiErrorKind[][src]

pub enum MtgApiErrorKind {
    ClientDropped,
    HttpError,
    BodyReadError,
    CardBodyParseError,
    CardNotFound,
    SetBodyParseError,
    SetNotFound,
    TypeBodyParseError,
    SubtypeBodyParseError,
    SupertypeBodyParseError,
    FormatBodyParseError,
    ApiError {
        cause: String,
    },
}

Variants

Fields of ApiError

Trait Implementations

impl Clone for MtgApiErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for MtgApiErrorKind
[src]

impl PartialEq for MtgApiErrorKind
[src]

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

This method tests for !=.

impl Debug for MtgApiErrorKind
[src]

Formats the value using the given formatter. Read more

impl From<MtgApiErrorKind> for MtgApiError
[src]

Performs the conversion.

Auto Trait Implementations