ipc_channel::router

Type Alias TypedRouterHandler

source
pub type TypedRouterHandler<T> = Box<dyn FnMut(Result<T, Error>) + Send>;
Expand description

Like RouterHandler but includes the type that will be passed to the callback

Aliased Typeยง

struct TypedRouterHandler<T>(/* private fields */);