Module syslog_sync_queue

Source
Expand description

A syslog intance which uses an MPSC channels.

Modules§

syslog_async_queue
A queued implementation for ASYNC.

Structs§

SyslogQueue
An instance which is shared between all threads, but a MPSC channel is used to manage the simultanious action. A thread worker is receiving messages, formats and forwards to syslog serer (destination).

Enums§

SyCmd
A wrapper for the data commands in the queue

Traits§

SyslogQueueChanRcv
A trait which should be implemented by the channel provider which forms a command queue. This trait provides a blocking receive interface on the receiver side.
SyslogQueueChanSnd
A trait which should be implemented by the channel provider which forms a command queue. This trait provides both or either the blocking send interface.
SyslogQueueChannel
A trait which should be implemented by the channel provider which forms a command queue. This trait provides a common interface which includes everything i.e channel, oneshot channel and manipulations.
SyslogQueueOneChanRcv
A trait which should be implemented by the channel provider which forms a command queue. This trait provides a Oneshot channel a receive interface for both sync and async modes.
SyslogQueueOneChanSnd
A trait which should be implemented by the channel provider which forms a command queue. This trait provides a Oneshot channel a send interface for blocking mode.