fn is_finished(&self) -> bool {
        match self.state {
            RecvState::Recv { .. } => false,
            _ => true,
        }
    }
/// No more data expected from peer
No more data expected from peer
No more data expected from peer
fn is_finished(&self) -> bool {
        match self.state {
            RecvState::Recv { .. } => false,
            _ => true,
        }
    }
fn is_finished ( & self ) -> bool { match self . state { RecvState :: Recv { .. } => false , _ => true , } }
No more data expected from peer
No more data expected from peer
&self