Struct mtgapi_client::api::error::MtgApiError [−][src]
pub struct MtgApiError { /* fields omitted */ }Errors encountered by the Client
Methods
impl MtgApiError[src]
impl MtgApiErrorpub fn kind(&self) -> MtgApiErrorKind[src]
pub fn kind(&self) -> MtgApiErrorKindTrait Implementations
impl Debug for MtgApiError[src]
impl Debug for MtgApiErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Fail for MtgApiError[src]
impl Fail for MtgApiErrorfn cause(&self) -> Option<&Fail>[src]
fn cause(&self) -> Option<&Fail>Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>Returns a reference to the Backtrace carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static, [src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static, Provides context for this failure. Read more
fn compat(self) -> Compat<Self>[src]
fn compat(self) -> Compat<Self>Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more
impl Display for MtgApiError[src]
impl Display for MtgApiErrorfn 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.
impl From<Context<MtgApiErrorKind>> for MtgApiError[src]
impl From<Context<MtgApiErrorKind>> for MtgApiErrorfn from(inner: Context<MtgApiErrorKind>) -> MtgApiError[src]
fn from(inner: Context<MtgApiErrorKind>) -> MtgApiErrorPerforms the conversion.
Auto Trait Implementations
impl Send for MtgApiError
impl Send for MtgApiErrorimpl Sync for MtgApiError
impl Sync for MtgApiError