pub struct StrategyDecisionRecorder { /* private fields */ }Expand description
Bounded recorder that returns executable signals even when a decision record is omitted.
Implementations§
Source§impl StrategyDecisionRecorder
impl StrategyDecisionRecorder
pub fn new(limits: StrategyRetentionLimits) -> Self
pub fn push( &mut self, record: StrategyDecisionRecord, ) -> Result<Vec<RawSignal>, StrategyDomainError>
pub fn finish(self) -> StrategyDecisionOutput
Auto Trait Implementations§
impl Freeze for StrategyDecisionRecorder
impl RefUnwindSafe for StrategyDecisionRecorder
impl Send for StrategyDecisionRecorder
impl Sync for StrategyDecisionRecorder
impl Unpin for StrategyDecisionRecorder
impl UnsafeUnpin for StrategyDecisionRecorder
impl UnwindSafe for StrategyDecisionRecorder
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