Skip to main content

GraphPatchHostDispatch

Trait GraphPatchHostDispatch 

Source
pub trait GraphPatchHostDispatch: Send + Sync {
    // Required method
    fn on_patch_dispatch(&self, envelope: Value) -> Result<Value, String>;
}
Expand description

Optional host hook: receives the same JSON summary as GraphPatchAdapter::execute_patch.

Required Methods§

Source

fn on_patch_dispatch(&self, envelope: Value) -> Result<Value, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§