mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
sync: PollSender impls Sink (#4110)
This commit is contained in:
parent
7af0f32751
commit
4c9b469562
@ -14,8 +14,8 @@ use std::task::{Context, Poll};
|
||||
///
|
||||
/// Instances are created by the [`channel`](channel) function.
|
||||
///
|
||||
/// To use the `Sender` in a poll function, you can use the [`PollSender`]
|
||||
/// utility.
|
||||
/// To convert the `Sender` into a `Sink` or use it in a poll function, you can
|
||||
/// use the [`PollSender`] utility.
|
||||
///
|
||||
/// [`PollSender`]: https://docs.rs/tokio-util/0.6/tokio_util/sync/struct.PollSender.html
|
||||
pub struct Sender<T> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user