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>),
UnsupportedOrderType(String),
}Variants§
Connectivity(ConnectivityError)
Connectivity-based error (timeout, socket failure, exchange offline).
Transient — retry with backoff. See ConnectivityError for details.
Rejected(ApiError<AssetNameExchange, InstrumentNameExchange>)
API-based error (rate limit, invalid instrument, order rejected, etc.).
Retry semantics depend on the specific ApiError variant. Only
ApiError::RateLimit is transient; other variants are not.
UnsupportedOrderType(String)
The order type is not supported by this connector.
Non-transient — the connector does not support this order type (e.g., trailing stop orders on a connector that only supports market/limit).