use crate::{
http::{ReqResBuffer, StatusCode},
http2::{stream_state::StreamState, window::Windows},
};
use core::task::Waker;
#[derive(Debug)]
pub(crate) struct StreamControlRecvParams {
pub(crate) is_stream_open: bool,
pub(crate) stream_state: StreamState,
pub(crate) waker: Waker,
pub(crate) windows: Windows,
}
#[derive(Debug)]
pub(crate) struct StreamOverallRecvParams {
pub(crate) content_length: Option<usize>,
pub(crate) body_len: u32,
pub(crate) has_initial_header: bool,
pub(crate) has_one_or_more_data_frames: bool,
pub(crate) is_stream_open: bool,
pub(crate) rrb: ReqResBuffer,
pub(crate) status_code: StatusCode,
pub(crate) stream_state: StreamState,
pub(crate) windows: Windows,
pub(crate) waker: Waker,
}