pub struct MarketDataPool { /* private fields */ }Expand description
Market data pool for zero-allocation market data processing
Implementations§
Source§impl MarketDataPool
impl MarketDataPool
Sourcepub fn new(
general_pool: Arc<ZerocopyMemoryPool>,
simd_pool: Arc<SimdMemoryPool>,
) -> Self
pub fn new( general_pool: Arc<ZerocopyMemoryPool>, simd_pool: Arc<SimdMemoryPool>, ) -> Self
Create a new market data pool
Sourcepub fn get_orderbook_buffer(&self) -> Option<BufferHandle>
pub fn get_orderbook_buffer(&self) -> Option<BufferHandle>
Get a buffer for orderbook processing
Sourcepub fn get_trade_buffer(&self) -> Option<BufferHandle>
pub fn get_trade_buffer(&self) -> Option<BufferHandle>
Get a buffer for trade collection processing
Sourcepub fn get_processing_buffer(&self) -> Option<BufferHandle>
pub fn get_processing_buffer(&self) -> Option<BufferHandle>
Get a general buffer for market data processing
Sourcepub fn get_simd_buffer(&self) -> Option<SimdBufferHandle>
pub fn get_simd_buffer(&self) -> Option<SimdBufferHandle>
Get a SIMD buffer for vectorized market data operations
Auto Trait Implementations§
impl Freeze for MarketDataPool
impl !RefUnwindSafe for MarketDataPool
impl Send for MarketDataPool
impl Sync for MarketDataPool
impl Unpin for MarketDataPool
impl !UnwindSafe for MarketDataPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more