pub async fn next_packet_size(desc: &Arc<SafeDescriptor>) -> Result<usize>