Skip to main content

UnindexedAccountStreamInitError

Type Alias UnindexedAccountStreamInitError 

Source
pub type UnindexedAccountStreamInitError = AccountStreamInitError<AssetNameExchange, InstrumentNameExchange>;
Expand description

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

Aliased Type§

pub enum UnindexedAccountStreamInitError {
    Client(ClientError<AssetNameExchange, InstrumentNameExchange>),
    Index(IndexError),
}

Variants§

§

Client(ClientError<AssetNameExchange, InstrumentNameExchange>)

The ExecutionClient failed to fetch the account snapshot or to open the account stream. See ClientError::is_transient.

§

Index(IndexError)

The account snapshot named an exchange, asset or instrument that is not indexed. This does not resolve on retry while the venue keeps reporting it.