Trait exc::Request

pub trait Request: Sized {
    type Response;
}
Expand description

Request and Response binding.

Required Associated Types§

type Response

Response type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Request for FetchInstruments

§

type Response = Pin<Box<dyn Stream<Item = Result<InstrumentMeta<Decimal>, ExchangeError>> + Send>>

§

impl Request for QueryFirstCandles

§

impl Request for QueryLastCandles

§

impl Request for Reconnect

§

type Response = ()

§

impl Request for SubscribeInstruments

§

type Response = Pin<Box<dyn Stream<Item = Result<InstrumentMeta<Decimal>, ExchangeError>> + Send>>

§

impl Request for SubscribeTrades

§

type Response = Pin<Box<dyn Stream<Item = Result<Trade, ExchangeError>> + Send>>

Implementors§