pub struct PooledExecutionReportManager;Expand description
Memory pool integration for execution reports
Implementations§
Source§impl PooledExecutionReportManager
impl PooledExecutionReportManager
Sourcepub fn create_and_send_report(
order_id: &str,
status: OrderStatus,
instrument_id: InstrumentId,
report_sender: &Sender<ExecutionReport>,
)
pub fn create_and_send_report( order_id: &str, status: OrderStatus, instrument_id: InstrumentId, report_sender: &Sender<ExecutionReport>, )
Create and send an execution report using memory pools for zero-allocation
Sourcepub fn create_rejection_report(
order_id: &str,
reason: &str,
instrument_id: InstrumentId,
report_sender: &Sender<ExecutionReport>,
)
pub fn create_rejection_report( order_id: &str, reason: &str, instrument_id: InstrumentId, report_sender: &Sender<ExecutionReport>, )
Create a rejection report using memory pools
Auto Trait Implementations§
impl Freeze for PooledExecutionReportManager
impl RefUnwindSafe for PooledExecutionReportManager
impl Send for PooledExecutionReportManager
impl Sync for PooledExecutionReportManager
impl Unpin for PooledExecutionReportManager
impl UnwindSafe for PooledExecutionReportManager
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