1use tokio::io::{AsyncRead, AsyncWrite};
4
5pub mod matcher;
6
7pub mod layer;
8pub mod service;
9
10mod read;
11#[doc(inline)]
12pub use read::{ChainReader, HeapReader, StackReader};
13
14mod peek;
15#[doc(inline)]
16pub use peek::PeekStream;
17
18pub mod rewind;
19
20pub trait Stream: AsyncRead + AsyncWrite + Send + 'static {}
23
24impl<T> Stream for T where T: AsyncRead + AsyncWrite + Send + 'static {}
25
26mod socket;
27#[doc(inline)]
28pub use socket::{ClientSocketInfo, Socket, SocketInfo};
29
30pub mod dep {
31 pub mod ipnet {
36 #[doc(inline)]
43 pub use ipnet::*;
44 }
45}