pub fn split_tls_stream<SR, SW, C>(
os_reader: SR,
os_writer: SW,
connection: C,
) -> (TlsReadHalf<SR, SW, C>, TlsWriteHalf<SW, C>)Expand description
Constructs independent Read and Write halves from split OS streams and a TLS connection.