uflow 0.7.1

Provides ordered, mixed-reliability, and congestion-controlled data transfer over UDP
Documentation

use super::pending_packet::FragmentRef;

use std::collections::VecDeque;

#[derive(Debug)]
pub struct Entry {
    pub fragment_ref: FragmentRef,
    pub resend: bool,
}

impl Entry {
    pub fn new(fragment_ref: FragmentRef, resend: bool) -> Self {
        Self {
            fragment_ref,
            resend,
        }
    }
}

pub type PendingQueue = VecDeque<Entry>;