Module shine_store::spscstate[][src]

Structs

Receiver

Receiver part of the communication

RefReceiveBuffer

Reference to the buffer held by the consumer

RefSendBuffer

Reference to the buffer held by the producer

Sender

Sender part of the communication.

Functions

state_channel

Create a Sender/Receiver with an embedded shared buffer for communication. It is not a "Single Producer Single Consumer" queue as some massages can be dropped based on thread scheduling.