Type Alias ipc_channel::router::RouterHandler

source ·
pub type RouterHandler = Box<dyn FnMut(OpaqueIpcMessage) + Send>;
Expand description

Function to call when a new event is received from the corresponding receiver.

Aliased Type§

struct RouterHandler(Unique<dyn FnMut(OpaqueIpcMessage) + Send>, Global);

Fields§

§0: Unique<dyn FnMut(OpaqueIpcMessage) + Send>§1: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.