pub trait GhostDispatch<H>: GhostEvent
where 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 HolochainP2p

source§

impl<H> GhostDispatch<H> for HolochainP2pEvent

Implementors§