Debian Codegraph @

src/io/mod.rs

raw symbols SCIP
1 mod buf;
2 mod buf_mut;
3 // mod buf_stream;
4 mod decode;
5 mod encode;
6 mod read_buf;
7 // mod write_and_flush;
8
9 pub use buf::BufExt;
10 pub use buf_mut::BufMutExt;
11 //pub use buf_stream::BufStream;
12 pub use decode::ProtocolDecode;
13 pub use encode::ProtocolEncode;
14 pub use read_buf::ReadBuf;
15
16 #[cfg(not(feature = "_rt-tokio"))]
17 pub use futures_io::AsyncRead;
18
19 #[cfg(feature = "_rt-tokio")]
20 pub use tokio::io::AsyncRead;
21
22 #[cfg(not(feature = "_rt-tokio"))]
23 pub use futures_util::io::AsyncReadExt;
24
25 #[cfg(feature = "_rt-tokio")]
26 pub use tokio::io::AsyncReadExt;