use super::*;
#[derive(Data)]
pub(crate) struct H3DirectState {
#[get(skip)]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) send_stream: Option<QuicSendStream>,
#[get(pub(super))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) pending_wire: Vec<u8>,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) pending_wire_offset: usize,
#[get(pub(super))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) pending_head: Vec<u8>,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) head_sent: bool,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) suppress_body: bool,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) is_head: bool,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) announced_len: Option<usize>,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) body_len: usize,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) finished: bool,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) failed: bool,
#[get(pub(super), type(copy))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) peers: StreamPeers,
}
#[derive(Data)]
pub(crate) struct H3DirectTransport {
#[get(pub(super))]
#[get_mut(pub(super))]
#[set(pub(super))]
pub(super) state: H3DirectStateHandle,
}
pub(crate) struct H3StreamGuard {
pub(super) inner: Option<PooledH3Stream>,
}
#[derive(Default)]
pub(crate) struct H3ControlState {
pub(super) control_seen: AtomicBool,
pub(super) qpack_enc_seen: AtomicBool,
pub(super) qpack_dec_seen: AtomicBool,
}