pub enum PluginRuntime {
Process,
Wasm,
}Variants§
Process
External process over stdio (spec §15). The only supported runtime
today; command carries the argv.
Wasm
WASM Component Model (spec §14): declared via the checked-in WIT.
Loading is a loud UnsupportedRuntime diagnostic until the wasmtime
host lands — never silent misloading.
Trait Implementations§
Source§impl Clone for PluginRuntime
impl Clone for PluginRuntime
Source§impl Debug for PluginRuntime
impl Debug for PluginRuntime
Source§impl Default for PluginRuntime
impl Default for PluginRuntime
Source§impl<'de> Deserialize<'de> for PluginRuntime
impl<'de> Deserialize<'de> for PluginRuntime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginRuntime
Source§impl PartialEq for PluginRuntime
impl PartialEq for PluginRuntime
Source§impl Serialize for PluginRuntime
impl Serialize for PluginRuntime
impl StructuralPartialEq for PluginRuntime
Auto Trait Implementations§
impl Freeze for PluginRuntime
impl RefUnwindSafe for PluginRuntime
impl Send for PluginRuntime
impl Sync for PluginRuntime
impl Unpin for PluginRuntime
impl UnsafeUnpin for PluginRuntime
impl UnwindSafe for PluginRuntime
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