pub struct GlobalPoolManager { /* private fields */ }Expand description
Global memory pool manager for the trading system
Implementations§
Source§impl GlobalPoolManager
impl GlobalPoolManager
Sourcepub const fn general_pool(&self) -> &Arc<ZerocopyMemoryPool>
pub const fn general_pool(&self) -> &Arc<ZerocopyMemoryPool>
Get the general purpose memory pool
Sourcepub const fn simd_pool(&self) -> &Arc<SimdMemoryPool>
pub const fn simd_pool(&self) -> &Arc<SimdMemoryPool>
Get the SIMD memory pool
Sourcepub const fn large_buffer_pool(&self) -> &Arc<ZerocopyMemoryPool>
pub const fn large_buffer_pool(&self) -> &Arc<ZerocopyMemoryPool>
Get the large buffer memory pool
Sourcepub const fn small_buffer_pool(&self) -> &Arc<ZerocopyMemoryPool>
pub const fn small_buffer_pool(&self) -> &Arc<ZerocopyMemoryPool>
Get the small buffer memory pool
Sourcepub fn get_comprehensive_statistics(&self) -> GlobalPoolStatistics
pub fn get_comprehensive_statistics(&self) -> GlobalPoolStatistics
Get comprehensive statistics from all pools
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlobalPoolManager
impl !RefUnwindSafe for GlobalPoolManager
impl Send for GlobalPoolManager
impl Sync for GlobalPoolManager
impl Unpin for GlobalPoolManager
impl !UnwindSafe for GlobalPoolManager
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