pub struct StoreReplayExecutor {
pub sandbox: Arc<dyn Sandbox>,
pub validator: Arc<dyn Validator>,
pub store: Arc<dyn EvolutionStore>,
pub selector: Arc<dyn Selector>,
pub governor: Arc<dyn Governor>,
pub economics: Option<Arc<Mutex<EvuLedger>>>,
pub remote_publishers: Option<Arc<Mutex<BTreeMap<String, String>>>>,
pub stake_policy: StakePolicy,
}Fields§
§sandbox: Arc<dyn Sandbox>§validator: Arc<dyn Validator>§store: Arc<dyn EvolutionStore>§selector: Arc<dyn Selector>§governor: Arc<dyn Governor>§economics: Option<Arc<Mutex<EvuLedger>>>§remote_publishers: Option<Arc<Mutex<BTreeMap<String, String>>>>§stake_policy: StakePolicyTrait Implementations§
Source§impl ReplayExecutor for StoreReplayExecutor
impl ReplayExecutor for StoreReplayExecutor
fn try_replay<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
input: &'life1 SelectorInput,
policy: &'life2 SandboxPolicy,
validation: &'life3 ValidationPlan,
) -> Pin<Box<dyn Future<Output = Result<ReplayDecision, ReplayError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn try_replay_for_run<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
run_id: &'life1 RunId,
input: &'life2 SelectorInput,
policy: &'life3 SandboxPolicy,
validation: &'life4 ValidationPlan,
) -> Pin<Box<dyn Future<Output = Result<ReplayDecision, ReplayError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Auto Trait Implementations§
impl Freeze for StoreReplayExecutor
impl !RefUnwindSafe for StoreReplayExecutor
impl Send for StoreReplayExecutor
impl Sync for StoreReplayExecutor
impl Unpin for StoreReplayExecutor
impl UnsafeUnpin for StoreReplayExecutor
impl !UnwindSafe for StoreReplayExecutor
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