Skip to main content

NodeGraphStoreMiddleware

Trait NodeGraphStoreMiddleware 

Source
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§

Source

fn before_dispatch( &mut self, _snapshot: NodeGraphStoreSnapshot<'_>, _tx: &mut GraphTransaction, ) -> Result<(), ApplyPipelineError>

Source

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".

Implementors§