pub struct PackReadStream<'a, R> { /* private fields */ }Expand description
A pack-byte reader configured for a known length or trailer-delimited input.
Construct this when using index_pack_from_stream directly; pass a pack
length for bounded seekable input or None to stop at the pack trailer.
Implementations§
Auto Trait Implementations§
impl<'a, R> !UnwindSafe for PackReadStream<'a, R>
impl<'a, R> Freeze for PackReadStream<'a, R>
impl<'a, R> RefUnwindSafe for PackReadStream<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for PackReadStream<'a, R>where
R: Send,
impl<'a, R> Sync for PackReadStream<'a, R>where
R: Sync,
impl<'a, R> Unpin for PackReadStream<'a, R>
impl<'a, R> UnsafeUnpin for PackReadStream<'a, R>
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