pub struct ObjStm { /* private fields */ }Expand description
A decoded object stream with its header parsed once.
The header is 2*n integers — pairs of object number and byte offset —
followed by the object bodies; offsets are relative to first, where the
first body begins. Parsing the header up front turns per-object extraction
from an O(n) rescan (O(n^2) across a whole stream) into a direct lookup.
Implementations§
Source§impl ObjStm
impl ObjStm
Auto Trait Implementations§
impl Freeze for ObjStm
impl RefUnwindSafe for ObjStm
impl Send for ObjStm
impl Sync for ObjStm
impl Unpin for ObjStm
impl UnsafeUnpin for ObjStm
impl UnwindSafe for ObjStm
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