File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 6
6
//! Similar to `std`, channel creation provides [`Receiver`] and [`Sender`]
7
7
//! handles. [`Receiver`] implements `Stream` and allows a task to read values
8
8
//! out of the channel. If there is no message to read, the current task will be
9
- //! notified when a new value is sent. [`Sender`] implements the `Sink` trait
10
- //! and allows sending messages into the channel. If the channel is at capacity,
11
- //! the send is rejected and the task will be notified when additional capacity
12
- //! is available. In other words, the channel provides backpressure.
9
+ //! notified when a new value is sent. If the channel is at capacity, the send
10
+ //! is rejected and the task will be notified when additional capacity is
11
+ //! available. In other words, the channel provides backpressure.
13
12
//!
14
13
//! Unbounded channels are also available using the `unbounded_channel`
15
14
//! constructor.
You can’t perform that action at this time.
0 commit comments