pub struct SignalOnlyExecutor { /* private fields */ }Expand description
A no-op executor that produces synthetic order/position IDs without side effects. Used when PlaybookEngine drives signal generation only — actual execution happens downstream in the Order Pipeline.
Implementations§
Trait Implementations§
Source§impl Default for SignalOnlyExecutor
impl Default for SignalOnlyExecutor
Source§impl OrderExecutor for SignalOnlyExecutor
impl OrderExecutor for SignalOnlyExecutor
fn place_order<'life0, 'life1, 'async_trait>(
&'life0 self,
_params: &'life1 PlaybookOrderParams,
) -> Pin<Box<dyn Future<Output = Result<String, ExecutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn cancel_order<'life0, 'life1, 'async_trait>(
&'life0 self,
_order_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), ExecutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn is_filled<'life0, 'life1, 'async_trait>(
&'life0 self,
_order_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool, ExecutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn close_position<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_position_id: &'life1 str,
_reason: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String, ExecutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !Freeze for SignalOnlyExecutor
impl RefUnwindSafe for SignalOnlyExecutor
impl Send for SignalOnlyExecutor
impl Sync for SignalOnlyExecutor
impl Unpin for SignalOnlyExecutor
impl UnsafeUnpin for SignalOnlyExecutor
impl UnwindSafe for SignalOnlyExecutor
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