Enum ya_runtime_sdk::RuntimeMode [−][src]
pub enum RuntimeMode {
Server,
Command,
}Expand description
Defines the mode of execution for commands within the runtime.
Variants
Server (blocking) mode
Uses Runtime API to communicate with the ExeUnit Supervisor.
Command::Deploy remains a one-shot command.
One-shot execution mode Each command is a separate invocation of the runtime binary.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RuntimeModeimpl Send for RuntimeModeimpl Sync for RuntimeModeimpl Unpin for RuntimeModeimpl UnwindSafe for RuntimeModeBlanket Implementations
Mutably borrows from an owned value. Read more