pub trait NodeGraphStoreMiddleware: 'static {
// Provided methods
fn before_dispatch(
&mut self,
_snapshot: NodeGraphStoreSnapshot<'_>,
_tx: &mut GraphTransaction,
) -> Result<(), ApplyPipelineError> { ... }
fn after_dispatch(
&mut self,
_snapshot: NodeGraphStoreSnapshot<'_>,
_patch: &NodeGraphPatch,
) { ... }
}Provided Methods§
fn before_dispatch( &mut self, _snapshot: NodeGraphStoreSnapshot<'_>, _tx: &mut GraphTransaction, ) -> Result<(), ApplyPipelineError>
fn after_dispatch( &mut self, _snapshot: NodeGraphStoreSnapshot<'_>, _patch: &NodeGraphPatch, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".