async-stream-packed 0.2.2

Asynchronous stream packed.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use futures_x_io::{AsyncRead, AsyncWrite};

use crate::upgradable::Upgrader;

pub trait TlsClientUpgrader<S>: Upgrader<S> {}

impl<S> TlsClientUpgrader<S> for () where S: AsyncRead + AsyncWrite + Unpin + Send + 'static {}

pub trait TlsServerUpgrader<S>: Upgrader<S> {}

impl<S> TlsServerUpgrader<S> for () where S: AsyncRead + AsyncWrite + Unpin + Send + 'static {}