[][src]Enum cdpay::PaymentError

pub enum PaymentError {
    IncorrectAmount,
    NotReceived,
    Communication(APIError),
    Other {
        status_id: u64,
        status_message: Option<String>,
    },
}

The ways payment might fail

Variants

The amount of cryptocurrency sent to the address wasn't correct.

The payment wasn't received.

Communication failed

Other error returned by te server.

Fields of Other

Trait Implementations

impl From<APIError> for PaymentError
[src]

impl Debug for PaymentError
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T