pub struct PkgDatabase { /* private fields */ }Implementationsยง
Sourceยงimpl PkgDatabase
impl PkgDatabase
pub fn import_lz4<R: Read>(&mut self, reader: R) -> Result<()>
pub fn import_lines_stream<R: BufRead>(&mut self, lines: Lines<R>) -> Result<()>
pub fn import_tar(buf: &[u8]) -> Result<Self>
pub fn find_by_filename(&self, filename: &str) -> Result<&PkgEntry>
pub fn find_by_apt_output(&self, line: &str) -> Result<(String, &PkgEntry)>
Trait Implementationsยง
Sourceยงimpl Debug for PkgDatabase
impl Debug for PkgDatabase
Sourceยงimpl Default for PkgDatabase
impl Default for PkgDatabase
Sourceยงfn default() -> PkgDatabase
fn default() -> PkgDatabase
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl PartialEq for PkgDatabase
impl PartialEq for PkgDatabase
impl StructuralPartialEq for PkgDatabase
Auto Trait Implementationsยง
impl Freeze for PkgDatabase
impl RefUnwindSafe for PkgDatabase
impl Send for PkgDatabase
impl Sync for PkgDatabase
impl Unpin for PkgDatabase
impl UnsafeUnpin for PkgDatabase
impl UnwindSafe for PkgDatabase
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