pub trait GhostHandler<D>: 'static + Send + Sized
where D: GhostDispatch<Self>,
{ // Provided method fn ghost_actor_dispatch(&mut self, d: D) { ... } }
Expand description

An item that can handle an incoming GhostEvent.

Provided Methods§

source

fn ghost_actor_dispatch(&mut self, d: D)

Process a dispatch event with this GhostHandler.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl GhostHandler<HolochainP2p> for MockHolochainP2pHandler

source§

impl GhostHandler<HolochainP2pEvent> for MockHolochainP2pEventHandler

Implementors§