Remove Unpin requirement for the send Buf

This commit is contained in:
Sean McArthur
2019-12-06 11:26:36 -08:00
parent 13e0f17a03
commit ec751f3696
12 changed files with 34 additions and 33 deletions

View File

@@ -43,8 +43,8 @@ impl Settings {
) -> Result<(), RecvError>
where
T: AsyncWrite + Unpin,
B: Buf + Unpin,
C: Buf + Unpin,
B: Buf,
C: Buf,
P: Peer,
{
if frame.is_ack() {
@@ -100,8 +100,8 @@ impl Settings {
) -> Poll<Result<(), RecvError>>
where
T: AsyncWrite + Unpin,
B: Buf + Unpin,
C: Buf + Unpin,
B: Buf,
C: Buf,
P: Peer,
{
if let Some(settings) = &self.remote {