trait TcpPut {
// Required methods
fn write_to_stream(&mut self, buf: &[u8]) -> Result<()>;
fn read_to_flight(&mut self) -> Result<Option<OpaqueMessageFlight>, Error>;
}
trait TcpPut {
// Required methods
fn write_to_stream(&mut self, buf: &[u8]) -> Result<()>;
fn read_to_flight(&mut self) -> Result<Option<OpaqueMessageFlight>, Error>;
}