wtx 0.45.0

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::misc::net::PartitionedFilledBuffer;

#[derive(Debug)]
pub(crate) struct ReaderData<SR> {
  pub(crate) pfb: PartitionedFilledBuffer,
  pub(crate) stream_reader: SR,
}

impl<SR> ReaderData<SR> {
  pub(crate) fn new(pfb: PartitionedFilledBuffer, stream_reader: SR) -> Self {
    Self { pfb, stream_reader }
  }
}