BinanceRequestError

Type Alias BinanceRequestError 

Source
pub type BinanceRequestError = RequestError<&'static str, BinanceHandlerError>;
Available on crate feature binance only.

Aliased Type§

pub enum BinanceRequestError {
    SendRequest(Error),
    ReceiveResponse(Error),
    BuildRequestError(&'static str),
    ResponseHandleError(BinanceHandlerError),
}

Variants§

§

SendRequest(Error)

An error which occurred while sending a HTTP request.

§

ReceiveResponse(Error)

An error which occurred while receiving a HTTP response.

§

BuildRequestError(&'static str)

Error occurred in [RequestHandler::build_request()].

§

ResponseHandleError(BinanceHandlerError)

An error which was returned by [RequestHandler].