new_duplex_connection_with_limit

Function new_duplex_connection_with_limit 

Source
pub fn new_duplex_connection_with_limit<T: DeserializeOwned + Serialize + Unpin, R: AsyncRead + Unpin, W: AsyncWrite + Unpin>(
    size_limit: u64,
    checksum_enabled: ChecksumEnabled,
    raw_read: R,
    raw_write: W,
) -> (AsyncReadConverse<R, W, T>, AsyncWriteConverse<W, T>)