Module server

Source
Expand description

Server utilities.

Modules§

sqlsrvsqlsrv
Helpers for creating in-process sqlite servers.
task
ump-ng dispatch server running on a thread.
thread
ump-ng dispatch server running on a thread.
ump_ng
Micro Message Pass: Next Generation (ump-ng) is a library for passing messages between thread/tasks. It is similar to the ump library, but with an added uni-directional message passing primitive.

Structs§

Client
Representation of a clonable client object.
ReplyContext
Object used to reply to requests passed to the server.
Server
Representation of a server object.
WeakClient
A weak client reference that can be upgraded to a Client as long as other Client objects till exist.

Enums§

MsgType
Mesage operation types.

Traits§

AsyncHandler
Message processing trait for an async handler.
ThreadedHandler
Message processing trait for a threaded handler.

Functions§

channel
Create a pair of linked Server and Client objects.
spawn_task
Launch a task that will process incoming messages from an ump-ng server end-point.
spawn_thread
Launch a thread that will process incoming messages from an ump-ng server end-point.

Attribute Macros§

async_trait