Module splinter::network::dispatch[][src]

Methods for Dispatching and Handling Messages.

Structs

ConnectionId

A wrapper for Connection Id

DispatchLoop

The Dispatch Loop

DispatchLoopBuilder
DispatchLoopError

Errors that may occur during the operation of the Dispatch Loop.

DispatchMessageReceiver
DispatchMessageSender
Dispatcher

Dispatches messages to handlers.

MessageContext

The Message Context

PeerId

A wrapper for a PeerId.

RawBytes

A container for the raw bytes of a message.

Enums

DispatchError

Dispatch Errors

Traits

FromMessageBytes

Converts bytes into a concrete message instance

Handler

A Handler for a network message.

MessageSender

A sender for outgoing messages.

Functions

dispatch_channel