pub enum MetadataEntry {
PackageInfo(PackageInfo),
BuildInfo(BuildInfo),
Mtree(Mtree),
}Expand description
Metadata entry contained in an alpm-package file.
This is used e.g. in PackageReader::metadata_entries when iterating over available
metadata files.
Variants§
PackageInfo(PackageInfo)
The PKGINFO data.
BuildInfo(BuildInfo)
The BUILDINFO data.
Mtree(Mtree)
The ALPM-MTREE data.
Trait Implementations§
Source§impl Clone for MetadataEntry
impl Clone for MetadataEntry
Auto Trait Implementations§
impl Freeze for MetadataEntry
impl RefUnwindSafe for MetadataEntry
impl Send for MetadataEntry
impl Sync for MetadataEntry
impl Unpin for MetadataEntry
impl UnsafeUnpin for MetadataEntry
impl UnwindSafe for MetadataEntry
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