We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c97537 commit b5ec94aCopy full SHA for b5ec94a
2 files changed
compio-io/src/read/ext.rs
@@ -201,6 +201,7 @@ pub trait AsyncReadExt: AsyncRead {
201
Framed::new(codec, framer).with_duplex(self)
202
}
203
204
+ #[cfg(feature = "bytes")]
205
/// Convenience method to create a [`BytesFramed`] reader/writter
206
/// out of a splittable.
207
fn bytes(self) -> BytesFramed<Self::ReadHalf, Self::WriteHalf>
compio-io/src/write/ext.rs
@@ -132,6 +132,7 @@ pub trait AsyncWriteExt: AsyncWrite {
132
133
134
135
136
/// Convenience method to create a [`BytesFramed`] reader/writer
137
138
0 commit comments