pub trait GhostDispatch<H>: GhostEventwhere
    H: GhostHandler<Self>,{
    // Required method
    fn ghost_actor_dispatch(self, h: &mut H);
}
Expand description

An upgraded GhostEvent that knows how to dispatch to a handler.

Required Methods§

source

fn ghost_actor_dispatch(self, h: &mut H)

Process a dispatch event with a given GhostHandler.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<H> GhostDispatch<H> for HolochainP2pwhere H: HolochainP2pHandler,

source§

impl<H> GhostDispatch<H> for HolochainP2pEventwhere H: HolochainP2pEventHandler,

Implementors§