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>, info: RwLock<ESockInfo>,
#[pin] #[pin]
// Raw (not encrypted) reader rx: AsyncSource<R>,
rx: R,
#[pin] #[pin]
tx: AsyncSink<W>, tx: AsyncSink<W>,
} }

Loading…
Cancel
Save