Add integrated socket stream types for UDP and TCP
This commit is contained in:
@@ -32,3 +32,6 @@ pub trait StreamSward {
|
||||
workload: BoxedStreamWorkload,
|
||||
) -> 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