Expand description
Exc-core: Abstractions for exchanges (the low-level apis).
Re-exports§
pub use exc_types as types;
pub use exc_symbol as symbol;
pub use exc_service as service;
Modules§
- exchange
- The definition of an exchange.
- retry
- Retry utils. Retry utils.
- transport
- Transport utils.
- util
- Utils for creating
ExcService
.
Structs§
- AsService
Service
returns byExcService::as_service
.- Asset
- Asset.
- Exc
- The core service wrapper of this crate, which implements
ExcService<T>
if the request type of the underlying service implementsAdaptor<T>
. - ExcLayer
- Create
Exc
from the givenExcService
. - Instrument
- Instrument.
- Into
Service Service
returns byExcServiceExt::into_service
.- Str
- A
SmolStr
is a string type that has the following properties: - Symbol
- Symbol.
Enums§
- Exchange
Error - Exchange Errors.
- Instrument
Error - Instrument Errors.
- Parse
Asset Error - Parse asset error.
- Parse
Symbol Error - Parse symbol error.
Traits§
- Adaptor
- An adaptor for request.
- ExcService
- An alias of
Service
that requires the input type to be aRequest
, and the error type to beExchangeError
. - ExcService
Ext - Extension trait for
ExcService
. - IntoExc
- Service that can be converted into a
Exc
. - Request
- Request and Response binding.
- Send
ExcService - An alias of
ExcService
withSend
and'static
bounds.