Crate ampsc

Crate ampsc 

Source
Expand description

logo It’s an async multi-producer single-consumer channel (ampsc).

This is the opposite of an ampsc channel. It’s also the opposite of an ampmc channel.

This crate is completely executor-agnostic.

Structs§

ChannelConsumer
A consumer (recv-side) for a channel.
ChannelConsumerRecvFuture
A future that represents an in-flight recieve operation.
ChannelProducer
The producer (send-side) for a channel.
ChannelProducerSendFuture
A future that represents an in-flight send operation.

Enums§

RecvError
Errors during receiving
SendError
Errors during sending

Functions§

channel
Creates a new channel.