Added AsyncSource to ESock<W, R>

Fortune for rsh's current commit: Small curse − 小凶
exchange-unsafe
Avril 3 years ago
parent d349c018c2
commit 7f44c83ce3
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -43,8 +43,7 @@ pub struct ESock<W, R> {
info: RwLock<ESockInfo>,
#[pin]
// Raw (not encrypted) reader
rx: R,
rx: AsyncSource<R>,
#[pin]
tx: AsyncSink<W>,
}

Loading…
Cancel
Save