Add integrated socket stream types for UDP and TCP
This commit is contained in:
1 parent
e5b1300bbd
commit
7ca33c3e26
1 file changed
+3
@@ -32,3 +32,6 @@ pub trait StreamSward {
|
|||||||
workload: BoxedStreamWorkload,
|
workload: BoxedStreamWorkload,
|
||||||
) -> impl Future<Output = Result<usize, std::io::Error>> + Send + 'static;
|
) -> impl Future<Output = Result<usize, std::io::Error>> + Send + 'static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub type IntegratedUdpSward = integrated::IntegratedSocketStreamSward<udp::UdpSward>;
|
||||||
|
pub type IntegratedTcpSward = integrated::IntegratedSocketStreamSward<tcp::TcpSward>;
|
||||||
Reference in new issue
Block a user