File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11//! The async operations.
2+ //!
23//! Types in this mod represents the low-level operations passed to kernel.
34//! The operation itself doesn't perform anything.
45//! You need to pass them to [`crate::Proactor`], and poll the driver.
Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ use pin_project_lite::pin_project;
1313use crate :: { buffer:: Buffer , util:: DEFAULT_BUF_SIZE } ;
1414
1515/// A wrapper for [`AsyncRead`](crate::AsyncRead) +
16- /// [`AsyncWrite`](crate::AsyncWrite), providing sync traits impl. The sync
17- /// methods will return [`io::ErrorKind::WouldBlock`] error if the inner buffer
18- /// needs more data.
16+ /// [`AsyncWrite`](crate::AsyncWrite), providing sync traits impl.
17+ ///
18+ /// The sync methods will return [`io::ErrorKind::WouldBlock`] error if the
19+ /// inner buffer needs more data.
1920#[ derive( Debug ) ]
2021pub struct SyncStream < S > {
2122 stream : S ,
You can’t perform that action at this time.
0 commit comments