pub struct Runtime;Trait Implementations§
Source§impl CommandImplementation for Runtime
impl CommandImplementation for Runtime
fn check_instantiability( _ctx: &CommandSpecification, _args: Vec<Type>, ) -> Result<Type, Diagnostic>
fn check_executability( _construct_did: &ConstructDid, _instance_name: &str, _spec: &CommandSpecification, _values: &ValueStore, _supervision_context: &RunbookSupervisionContext, _auth_context: &AuthorizationContext, ) -> Result<Actions, Diagnostic>
fn run_execution( _construct_id: &ConstructDid, _spec: &CommandSpecification, _values: &ValueStore, _progress_tx: &Sender<BlockEvent>, _auth_ctx: &AuthorizationContext, ) -> CommandExecutionFutureResult
fn post_process_evaluated_inputs( _ctx: &CommandSpecification, inputs: CommandInputsEvaluationResult, ) -> Result<Pin<Box<dyn Future<Output = Result<CommandInputsEvaluationResult, Diagnostic>> + Send>>, Diagnostic>
fn check_signed_executability( _construct_id: &ConstructDid, _instance_name: &str, _spec: &CommandSpecification, _values: &ValueStore, _supervision_context: &RunbookSupervisionContext, _signers_instances: &HashMap<ConstructDid, SignerInstance>, _signers_state: SignersState, _auth_ctx: &AuthorizationContext, ) -> Result<Pin<Box<dyn Future<Output = Result<(SignersState, ValueStore, Actions), (SignersState, ValueStore, Diagnostic)>> + Send>>, (SignersState, ValueStore, Diagnostic)>
fn prepare_signed_nested_execution( construct_did: &ConstructDid, instance_name: &str, _values: &ValueStore, _signers_instances: &HashMap<ConstructDid, SignerInstance>, signers_state: SignersState, ) -> Result<Pin<Box<dyn Future<Output = Result<(SignersState, ValueStore, Vec<(ConstructDid, ValueStore)>), (SignersState, ValueStore, Diagnostic)>> + Send>>, (SignersState, ValueStore, Diagnostic)>
fn evaluate_pre_conditions( construct_did: &ConstructDid, instance_name: &str, spec: &CommandSpecification, values: &ValueStore, progress_tx: &Sender<BlockEvent>, background_tasks_uuid: &Uuid, ) -> Result<PreConditionEvaluationResult, Diagnostic>
fn prepare_nested_execution( construct_did: &ConstructDid, _instance_name: &str, _values: &ValueStore, ) -> Result<Vec<(ConstructDid, ValueStore)>, Diagnostic>
fn aggregate_nested_execution_results( _instance_name: &str, _construct_did: &ConstructDid, _values: &Vec<(ConstructDid, ValueStore)>, nested_results: &Vec<CommandExecutionResult>, ) -> Result<CommandExecutionResult, Diagnostic>
fn run_signed_execution( _construct_id: &ConstructDid, _spec: &CommandSpecification, _values: &ValueStore, _progress_tx: &Sender<BlockEvent>, _signers_instances: &HashMap<ConstructDid, SignerInstance>, _signers_state: SignersState, _auth_context: &AuthorizationContext, ) -> Result<Pin<Box<dyn Future<Output = Result<(SignersState, ValueStore, CommandExecutionResult), (SignersState, ValueStore, Diagnostic)>> + Send>>, (SignersState, ValueStore, Diagnostic)>
fn build_background_task( _construct_did: &ConstructDid, _spec: &CommandSpecification, _values: &ValueStore, _outputs: &ValueStore, _progress_tx: &Sender<BlockEvent>, _background_tasks_uuid: &Uuid, _supervision_context: &RunbookSupervisionContext, _cloud_service_context: &Option<CloudServiceContext>, ) -> Result<Pin<Box<dyn Future<Output = Result<CommandExecutionResult, Diagnostic>> + Send>>, Diagnostic>
fn evaluate_post_conditions( construct_did: &ConstructDid, instance_name: &str, spec: &CommandSpecification, values: &ValueStore, execution_results: &mut CommandExecutionResult, progress_tx: &Sender<BlockEvent>, background_tasks_uuid: &Uuid, ) -> Result<PostConditionEvaluationResult, Diagnostic>
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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