pub struct Output;Trait Implementations§
Source§impl CommandImplementation for Output
impl CommandImplementation for Output
fn check_instantiability( _ctx: &CommandSpecification, _args: Vec<Type>, ) -> Result<Type, Diagnostic>
fn check_executability( construct_did: &ConstructDid, instance_name: &str, _spec: &CommandSpecification, args: &ValueStore, _supervision_context: &RunbookSupervisionContext, auth_context: &AuthorizationContext, ) -> Result<Actions, Diagnostic>
fn run_execution( _construct_id: &ConstructDid, _spec: &CommandSpecification, args: &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 Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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