hyperlane-performance 22.1.0

Reproducible multi-protocol performance tools for Hyperlane.
Documentation
1
2
3
4
5
6
7
8
9
use super::*;

/// The transport one protocol variant writes its bytes over.
///
/// The HTTP/1.1 control reads and writes raw bytes, so the plain socket and
/// the TLS session share one implementation through this trait.
pub(crate) trait Transport: AsyncRead + AsyncWrite + Unpin + Send {}

impl<T> Transport for T where T: AsyncRead + AsyncWrite + Unpin + Send {}