pub struct Stream {
pub dict: Dict,
pub data_span: ByteSpan,
}Expand description
A stream object (§7.3.8): its dictionary plus the span of its encoded data bytes in the retained source buffer.
The data is not copied out at parse time — the span points into
the retained buffer (crate::span’s model), and decoding through
the /Filter chain is a separate, on-demand step with its own
resource ceilings (ARCHITECTURE.md §10.1). data_span is the exact
/Length-byte region beginning after the stream keyword’s EOL
(§7.3.8.1’s framing rules, including the CR-alone prohibition).
Fields§
§dict: DictThe stream dictionary (/Length, /Filter, …). Always a
direct dictionary per §7.3.8.1 (its entries may be indirect).
data_span: ByteSpanExact span of the raw (still-encoded) stream data in the source buffer.
Trait Implementations§
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Forget for Stream
impl Freeze for Stream
impl Move for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more