pub struct RecorderHandle { /* private fields */ }Implementations§
Source§impl RecorderHandle
impl RecorderHandle
Sourcepub fn record_tick(&self, tick: Tick)
pub fn record_tick(&self, tick: Tick)
Enqueues a tick event for recording.
Sourcepub fn record_candle(&self, candle: Candle)
pub fn record_candle(&self, candle: Candle)
Enqueues a candle event for recording.
Sourcepub fn record_fill(&self, fill: Fill)
pub fn record_fill(&self, fill: Fill)
Enqueues a fill event for recording.
Sourcepub fn record_order(&self, order: Order)
pub fn record_order(&self, order: Order)
Enqueues an order update for recording.
Sourcepub fn record_order_book(&self, book: OrderBook)
pub fn record_order_book(&self, book: OrderBook)
Enqueues an order book snapshot for recording.
Sourcepub fn record_signal(&self, signal: Signal)
pub fn record_signal(&self, signal: Signal)
Enqueues a signal for recording.
Trait Implementations§
Source§impl Clone for RecorderHandle
impl Clone for RecorderHandle
Source§fn clone(&self) -> RecorderHandle
fn clone(&self) -> RecorderHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecorderHandle
impl RefUnwindSafe for RecorderHandle
impl Send for RecorderHandle
impl Sync for RecorderHandle
impl Unpin for RecorderHandle
impl UnwindSafe for RecorderHandle
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