Enum ya_runtime_sdk::RuntimeMode
source · pub enum RuntimeMode {
Server,
Command,
}
Expand description
Defines the mode of execution for commands within the runtime.
Variants§
Server
Server (blocking) mode
Uses Runtime API to communicate with the ExeUnit Supervisor.
Command::Deploy
remains a one-shot command.
Command
One-shot execution mode Each command is a separate invocation of the runtime binary.
Trait Implementations§
source§impl Clone for RuntimeMode
impl Clone for RuntimeMode
source§fn clone(&self) -> RuntimeMode
fn clone(&self) -> RuntimeMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more