BybitRequestError

Type Alias BybitRequestError 

Source
pub type BybitRequestError = RequestError<&'static str, BybitHandlerError>;
Available on crate feature bybit only.

Aliased Type§

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

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(BybitHandlerError)

An error which was returned by [RequestHandler].