pub struct Stream {
pub dict: Dict,
pub raw: Arc<[u8]>,
}Expand description
A stream: its dictionary plus the raw (still filtered, possibly encrypted) bytes.
The bytes are behind an Arc so cloning the containing Object does not copy stream
payloads; document loading hands out clones freely.
Fields§
§dict: Dict§raw: Arc<[u8]>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