pub enum PluginResponse {
Manifest {
manifest: PluginManifest,
},
CallResult {
value: Value,
},
Prepared,
EffectResult {
outcome: WorldOutcome,
value: Option<Value>,
},
ReconciliationResult {
resolution: ReconciliationResolution,
value: Option<Value>,
},
Error {
code: String,
message: String,
},
}Expand description
Versioned process-plugin response.
Variants§
Manifest
Capability advertisement.
Fields
§
manifest: PluginManifestManifest.
CallResult
Component result.
Prepared
Preparation succeeded.
EffectResult
Dispatch produced an observed outcome.
Fields
§
outcome: WorldOutcomeExternal-world observation.
ReconciliationResult
Reconciliation produced a typed resolution.
Fields
§
resolution: ReconciliationResolutionResolution.
Error
Structured adapter error.
Trait Implementations§
Source§impl Clone for PluginResponse
impl Clone for PluginResponse
Source§impl Debug for PluginResponse
impl Debug for PluginResponse
Source§impl<'de> Deserialize<'de> for PluginResponse
impl<'de> Deserialize<'de> for PluginResponse
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
Source§impl PartialEq for PluginResponse
impl PartialEq for PluginResponse
Source§impl Serialize for PluginResponse
impl Serialize for PluginResponse
impl StructuralPartialEq for PluginResponse
Auto Trait Implementations§
impl Freeze for PluginResponse
impl RefUnwindSafe for PluginResponse
impl Send for PluginResponse
impl Sync for PluginResponse
impl Unpin for PluginResponse
impl UnsafeUnpin for PluginResponse
impl UnwindSafe for PluginResponse
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