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
Source§fn clone(&self) -> MetadataEntry
fn clone(&self) -> MetadataEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MetadataEntry
impl RefUnwindSafe for MetadataEntry
impl Send for MetadataEntry
impl Sync for MetadataEntry
impl Unpin 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