pub struct HftPoolConfig {
pub order_pool_size: usize,
pub trade_pool_size: usize,
pub buffer_pool_size: usize,
pub buffer_size: usize,
}Expand description
Configuration for HFT object pools
Fields§
§order_pool_size: usizeInitial pool size for orders
trade_pool_size: usizeInitial pool size for trades
buffer_pool_size: usizeInitial pool size for buffers
buffer_size: usizeBuffer size in bytes
Trait Implementations§
Source§impl Clone for HftPoolConfig
impl Clone for HftPoolConfig
Source§fn clone(&self) -> HftPoolConfig
fn clone(&self) -> HftPoolConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HftPoolConfig
impl Debug for HftPoolConfig
Auto Trait Implementations§
impl Freeze for HftPoolConfig
impl RefUnwindSafe for HftPoolConfig
impl Send for HftPoolConfig
impl Sync for HftPoolConfig
impl Unpin for HftPoolConfig
impl UnwindSafe for HftPoolConfig
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