[−][src]Crate suspend_channel
Channel and stream primitives.
Macros
stream | A macro for constructing an async stream from a generator function. |
try_stream | A macro for constructing an async stream of |
Structs
AsyncStream | A |
AsyncStreamScope | A utility class for providing values to the stream. |
AsyncStreamSend | A |
Incomplete | An error indicating that a receive operation could not be completed because the sender was dropped. |
NextFuture | |
ReceiveOnce | Created by |
Receiver | Created by |
SendOnce | Created by |
Sender | Created by |
TimedOut | An error returned when a timeout has expired. |
TrackSend | A |
TryAsyncStreamSend | A |
Traits
StreamNext | Provide a utility method to await the next item from a stream. |
Functions
channel | Create a channel for sending multiple values between a producer and consumer, with synchronization between each consecutive result. |
make_stream | Construct a new |
send_once | Create a channel for sending a single value between a producer and consumer. |