Type Alias UnindexedOrderError

Source
pub type UnindexedOrderError = OrderError<AssetNameExchange, InstrumentNameExchange>;
Expand description

Type alias for a OrderError that is keyed on AssetNameExchange and InstrumentNameExchange (yet to be indexed).

Aliased Type§

pub enum UnindexedOrderError {
    Connectivity(ConnectivityError),
    Rejected(ApiError<AssetNameExchange, InstrumentNameExchange>),
}

Variants§

§

Connectivity(ConnectivityError)

Connectivity based error.

eg/ Timeout.

§

Rejected(ApiError<AssetNameExchange, InstrumentNameExchange>)

API based error.

eg/ RateLimit.