Enum binance_client::HttpError[][src]

pub enum HttpError {
    UrlParsing(UrlErrorString),
    RequestBuilding(Error),
    AuthorizationKeysMissing,
    RequestExecution(Error),
    ResponseReading(Error),
    ResponseParsing(ErrorString),
    ResponseError(ResponseError),
}

The Binance HTTP client error.

Variants

UrlParsing(UrlErrorString)

The request URL parsing error. Can happen on invalid user input.

RequestBuilding(Error)

The request building error. Can happen on invalid user input.

AuthorizationKeysMissing

The authorization keys data missing. The client was created without them.

RequestExecution(Error)

The request execution error. Usually happens due to some network errors.

ResponseReading(Error)

The response reading error.

ResponseParsing(ErrorString)

The response parsing error. Binance returned invalid data or the data model must be updated.

ResponseError(ResponseError)

The response is valid, but Binance returned an application-level error.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Fail for Error[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any