Expand description
Binance API provider with async support for HTTP and Websocket transport.
Macros§
Structs§
- Client
- The HTTP client able to call the endpoints.
- Config
- Configuration for the connection to API.
- Response
Error - The error returned as a JSON from the Binance server. Errors consist of two parts: an error code and a message. Codes are universal, but messages can vary.
Enums§
- Error
- Aggregated crate errors.
- Futures
Api - Set of possible HTTP methods. Every variant corresponds to a single API call (combination of path and HTTP verb).
- SpotApi
- Set of possible HTTP methods. Every variant corresponds to a single API call (combination of path and HTTP verb).
Traits§
- Endpoint
- Fully describes the HTTP endpoint:
Type Aliases§
- Result
- Specialised
Result
with the global crate error.