Struct jsonrpc_core::control::HandlerInternal [] [src]

pub struct HandlerInternal<A, B, C, D> { /* fields omitted */ }

Response handler with transformations.

Methods

impl<A: 'static, B: 'static, C: 'static, D: 'static> HandlerInternal<A, B, C, D>
[src]

Create a new HandlerInternal with given transformation function.

Convert this HandlerInternal into a new one, accepting different input.

Split this handler into count handlers. Upstream ResponseHandler::send will be called only when all sub-handlers receive a response for the first time. Notifications are forwarded and mapped through map_single

Trait Implementations

impl<A, B, C, D> ResponseHandler<C, D> for HandlerInternal<A, B, C, D>
[src]

Sends a reponse to that client.

Sends a notification to that client.