pub enum EntryComponentType {
DbDesc,
DbFiles,
InstallScriptlet,
Mtree,
}Expand description
The type of an entry component.
Variants§
DbDesc
The alpm-db-desc component in a database entry.
DbFiles
The alpm-db-files component in a database entry.
InstallScriptlet
The optional alpm-install-scriptlet component in a database entry.
Mtree
The ALPM-MTREE component in a database entry.
Implementations§
Source§impl EntryComponentType
impl EntryComponentType
Sourcepub fn file_type_name(&self) -> &str
pub fn file_type_name(&self) -> &str
Returns the name of the file type.
Trait Implementations§
Source§impl AsRef<str> for EntryComponentType
impl AsRef<str> for EntryComponentType
Source§impl Clone for EntryComponentType
impl Clone for EntryComponentType
impl Copy for EntryComponentType
Source§impl Debug for EntryComponentType
impl Debug for EntryComponentType
Source§impl Display for EntryComponentType
impl Display for EntryComponentType
impl Eq for EntryComponentType
Source§impl Ord for EntryComponentType
impl Ord for EntryComponentType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EntryComponentType
impl PartialEq for EntryComponentType
Source§impl PartialOrd for EntryComponentType
impl PartialOrd for EntryComponentType
impl StructuralPartialEq for EntryComponentType
Auto Trait Implementations§
impl Freeze for EntryComponentType
impl RefUnwindSafe for EntryComponentType
impl Send for EntryComponentType
impl Sync for EntryComponentType
impl Unpin for EntryComponentType
impl UnsafeUnpin for EntryComponentType
impl UnwindSafe for EntryComponentType
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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