Expand description
Stream API client for Betfair
Re-exports§
pub use cache::market_subscriber::MarketSubscriber;pub use cache::order_subscriber::OrderSubscriber;pub use cache::primitives::MarketBookCache;pub use cache::primitives::OrderBookCache;pub use betfair_stream_types as types;pub use tokio_util;
Modules§
- cache
- Contains all the types that are necessary to properly build a local cache representation of the market
Structs§
- StreamAPI
Client Codec - Defines the encoding and decoding of Betfair stream api data structures using tokio
- Stream
Api - Represents the streaming API connection.
- Stream
ApiBuilder - Builder for creating a
StreamApiinstance.
Enums§
- Cache
Enabled Messages - Represents messages that have caching enabled.
- Codec
Error - Errors that can arise while decoding or encoding betfair stream api data
- External
Updates - Represents external updates received from the data feed.
- Heartbeat
Strategy - Represents the strategy for sending heartbeat messages.
- Metadata
Updates - Represents various metadata updates related to the connection state.
- Stream
Error - Errors that can occur in the stream processing module. Represents errors that can occur in the stream processing module.
Traits§
- Betfair
Provider Ext - Extension to connect to the betfair stream
- Stream
Ext - An extension trait for
Streams that provides a variety of convenient combinator functions.