Docs.rs
exc-core-0.7.3
exc-core 0.7.3
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Nouzan
Dependencies
anyhow ^1.0.68
normal
async-stream ^0.3.3
normal
cfg-if ^1.0.0
normal
either ^1.8.0
normal
exc-make ^0.7.3
normal
exc-service ^0.7.3
normal
exc-symbol ^0.7.3
normal
exc-types ^0.7.3
normal
futures ^0.3.25
normal
http ^0.2.8
normal
hyper ^0.14.23
normal
hyper-rustls ^0.24.2
normal
hyper-tls ^0.5.0
normal
indicator ^0.4.0
normal
num-traits ^0.2.15
normal
pin-project-lite ^0.2.9
normal
positions ^0.2.1
normal
rust_decimal ^1.27.0
normal
serde ^1.0.151
normal
thiserror ^1.0.38
normal
time ^0.3.17
normal
tokio ^1.23.0
normal
tokio-stream ^0.1.11
normal
tokio-tungstenite ^0.20.1
normal
tower ^0.4.13
normal
tracing ^0.1.37
normal
rust_decimal_macros ^1.27.0
dev
wasm-bindgen-test ^0.3.37
dev
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
exc_core
0.7.3
Request
Required Associated Types
Response
Implementations on Foreign Types
CancelOrder
FetchInstruments
GetOrder
PlaceOrder
QueryCandles
QueryFirstCandles
QueryLastCandles
Reconnect
SubscribeBidAsk
SubscribeInstruments
SubscribeOrders
SubscribeTickers
SubscribeTrades
Object Safety
Implementors
In crate exc_core
?
Trait
exc_core
::
Request
source
·
[
−
]
pub trait Request:
Sized
{ type
Response
; }
Expand description
Request and Response binding.
Required Associated Types
§
source
type
Response
Response type.
Object Safety
§
This trait is
not
object safe
.
Implementations on Foreign Types
§
source
§
impl
Request
for
SubscribeBidAsk
§
type
Response
=
Pin
<
Box
<dyn Stream<Item =
Result
<
BidAsk
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
QueryCandles
§
type
Response
=
CandleStream
source
§
impl
Request
for
QueryFirstCandles
§
type
Response
=
CandleStream
source
§
impl
Request
for
QueryLastCandles
§
type
Response
=
CandleStream
source
§
impl
Request
for
FetchInstruments
§
type
Response
=
Pin
<
Box
<dyn Stream<Item =
Result
<
InstrumentMeta
<
Decimal
>,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
SubscribeInstruments
§
type
Response
=
Pin
<
Box
<dyn Stream<Item =
Result
<
InstrumentMeta
<
Decimal
>,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
SubscribeTickers
§
type
Response
=
Pin
<
Box
<dyn Stream<Item =
Result
<
Ticker
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
SubscribeTrades
§
type
Response
=
Pin
<
Box
<dyn Stream<Item =
Result
<
Trade
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
CancelOrder
§
type
Response
=
Pin
<
Box
<dyn
Future
<Output =
Result
<
Canceled
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
GetOrder
§
type
Response
=
Pin
<
Box
<dyn
Future
<Output =
Result
<
OrderUpdate
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
PlaceOrder
§
type
Response
=
Pin
<
Box
<dyn
Future
<Output =
Result
<
Placed
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
SubscribeOrders
§
type
Response
=
Pin
<
Box
<dyn Stream<Item =
Result
<
OrderUpdate
,
ExchangeError
>> +
Send
>>
source
§
impl
Request
for
Reconnect
§
type
Response
=
()
Implementors
§