Expand description
User defined messages.
To setup a message queue use listener. It returns a Listener as well
as a Sender, which can be used to send a message to the created
listener.
Messages send using the types in this module will use the io_uring submission queue to share the message with the receiving end. This means that it will wake up the thread if it’s currently polling. If this wake-up is not needed it’s better to use a user-space queue such as the one found the standard library.
Structs§
- Listener
- Listener for user defined messages.
- SendMsg
FuturebehindSender::send.- Sender
- Sender to the connected
Listener.
Functions§
- listener
- Setup a listener and sender for user defined messages.
Type Aliases§
- Message
- Type of message this module can send.