mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
doc: remove reference to the Sink trait in the MPSC documentation (#2476)
The implementation of the Sink trait was removed in 8a7e5778. Fixes: #2464 Refs: #2389
This commit is contained in:
parent
20b5df9037
commit
31315b9463
@ -6,10 +6,9 @@
|
|||||||
//! Similar to `std`, channel creation provides [`Receiver`] and [`Sender`]
|
//! Similar to `std`, channel creation provides [`Receiver`] and [`Sender`]
|
||||||
//! handles. [`Receiver`] implements `Stream` and allows a task to read values
|
//! handles. [`Receiver`] implements `Stream` and allows a task to read values
|
||||||
//! out of the channel. If there is no message to read, the current task will be
|
//! out of the channel. If there is no message to read, the current task will be
|
||||||
//! notified when a new value is sent. [`Sender`] implements the `Sink` trait
|
//! notified when a new value is sent. If the channel is at capacity, the send
|
||||||
//! and allows sending messages into the channel. If the channel is at capacity,
|
//! is rejected and the task will be notified when additional capacity is
|
||||||
//! the send is rejected and the task will be notified when additional capacity
|
//! available. In other words, the channel provides backpressure.
|
||||||
//! is available. In other words, the channel provides backpressure.
|
|
||||||
//!
|
//!
|
||||||
//! Unbounded channels are also available using the `unbounded_channel`
|
//! Unbounded channels are also available using the `unbounded_channel`
|
||||||
//! constructor.
|
//! constructor.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user