pub struct BinaryPackageReader<R: Read> { /* private fields */ }Expand description
A reader of .deb files.
A .deb binary package file is an ar archive with 3 entries:
debian-binaryholding the version of the binary package format.control.tarholding package metadata.data.tar[.<ext>]holding file content.
Implementations§
Source§impl<R: Read> BinaryPackageReader<R>
impl<R: Read> BinaryPackageReader<R>
Sourcepub fn next_entry(&mut self) -> Option<Result<BinaryPackageEntry>>
pub fn next_entry(&mut self) -> Option<Result<BinaryPackageEntry>>
Obtain the next entry from the underlying ar archive.
The entry will be converted to an enum that richly represents its content.
Auto Trait Implementations§
impl<R> Freeze for BinaryPackageReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for BinaryPackageReader<R>where
R: RefUnwindSafe,
impl<R> Send for BinaryPackageReader<R>where
R: Send,
impl<R> Sync for BinaryPackageReader<R>where
R: Sync,
impl<R> Unpin for BinaryPackageReader<R>where
R: Unpin,
impl<R> UnwindSafe for BinaryPackageReader<R>where
R: UnwindSafe,
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