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
ClientDroppedHttpErrorBodyReadErrorCardBodyParseErrorCardNotFoundSetBodyParseErrorSetNotFoundTypeBodyParseErrorSubtypeBodyParseErrorSupertypeBodyParseErrorFormatBodyParseErrorApiErrorFields of ApiError
cause: String |
Trait Implementations
impl Clone for MtgApiErrorKind[src]
impl Clone for MtgApiErrorKindfn clone(&self) -> MtgApiErrorKind[src]
fn clone(&self) -> MtgApiErrorKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for MtgApiErrorKind[src]
impl Eq for MtgApiErrorKindimpl PartialEq for MtgApiErrorKind[src]
impl PartialEq for MtgApiErrorKindfn eq(&self, other: &MtgApiErrorKind) -> bool[src]
fn eq(&self, other: &MtgApiErrorKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MtgApiErrorKind) -> bool[src]
fn ne(&self, other: &MtgApiErrorKind) -> boolThis method tests for !=.
impl Debug for MtgApiErrorKind[src]
impl Debug for MtgApiErrorKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<MtgApiErrorKind> for MtgApiError[src]
impl From<MtgApiErrorKind> for MtgApiErrorfn from(kind: MtgApiErrorKind) -> MtgApiError[src]
fn from(kind: MtgApiErrorKind) -> MtgApiErrorPerforms the conversion.
Auto Trait Implementations
impl Send for MtgApiErrorKind
impl Send for MtgApiErrorKindimpl Sync for MtgApiErrorKind
impl Sync for MtgApiErrorKind