[][src]Trait the_process_foundry::base::ActionTrait

pub trait ActionTrait {
    type RESPONSE;
    fn run(&self, target: AppInstance) -> Result<Self::RESPONSE>;
fn to_message(&self, target: Option<AppInstance>) -> Result<Vec<Message>>; }

Handlers for serialized action requests

THINK: Should there be a send/receive?

Associated Types

type RESPONSE

Loading content...

Required methods

fn run(&self, target: AppInstance) -> Result<Self::RESPONSE>

fn to_message(&self, target: Option<AppInstance>) -> Result<Vec<Message>>

Loading content...

Implementors

impl ActionTrait for FindAppQuery[src]

type RESPONSE = ActionResult

fn run(&self, target: AppInstance) -> Result<Self::RESPONSE>[src]

Find the first app that matches the conditions of AppDefinition (name, version, path, etc) TODO: Convert this to reuse "Run"

impl ActionTrait for RunOptions[src]

type RESPONSE = ActionResult

impl ActionTrait for ExecOptions[src]

type RESPONSE = ActionResult

impl ActionTrait for the_process_foundry::applications::docker_compose::application::FindApp[src]

type RESPONSE = ActionResult

impl ActionTrait for the_process_foundry::applications::docker_container::FindApp[src]

type RESPONSE = ActionResult

impl ActionTrait for InspectOptions[src]

type RESPONSE = ActionResult

impl ActionTrait for Options[src]

type RESPONSE = ActionResult

Loading content...