#[repr(C)]pub struct VerIterator { /* private fields */ }
Implementations§
Source§impl VerIterator
impl VerIterator
Source§impl VerIterator
impl VerIterator
Sourcepub unsafe fn parent_pkg(&self) -> UniquePtr<PkgIterator>
pub unsafe fn parent_pkg(&self) -> UniquePtr<PkgIterator>
Source§impl VerIterator
impl VerIterator
Source§impl VerIterator
impl VerIterator
Sourcepub fn priority_str(&self) -> Result<&str, Exception>
pub fn priority_str(&self) -> Result<&str, Exception>
The priority string as shown in apt show
.
Source§impl VerIterator
impl VerIterator
Sourcepub fn installed_size(&self) -> u64
pub fn installed_size(&self) -> u64
The uncompressed size of the .deb file.
Source§impl VerIterator
impl VerIterator
Sourcepub fn is_downloadable(&self) -> bool
pub fn is_downloadable(&self) -> bool
True if the version is able to be downloaded.
Source§impl VerIterator
impl VerIterator
Sourcepub fn is_installed(&self) -> bool
pub fn is_installed(&self) -> bool
True if the version is currently installed
Source§impl VerIterator
impl VerIterator
Sourcepub fn source_name(&self) -> &str
pub fn source_name(&self) -> &str
Always contains the name, even if it is the same as the binary name
Source§impl VerIterator
impl VerIterator
pub fn source_version(&self) -> &str
Source§impl VerIterator
impl VerIterator
Sourcepub unsafe fn provides(&self) -> UniquePtr<PrvIterator>
pub unsafe fn provides(&self) -> UniquePtr<PrvIterator>
Return Providers Iterator
§Safety
If the inner pointer is null segfaults can occur.
Using crate::raw::IntoRawIter::make_safe
to convert to an Option
is recommended.
The returned UniquePtr cannot outlive the cache.
Source§impl VerIterator
impl VerIterator
Sourcepub unsafe fn depends(&self) -> UniquePtr<DepIterator>
pub unsafe fn depends(&self) -> UniquePtr<DepIterator>
Return Dependency Iterator
§Safety
If the inner pointer is null segfaults can occur.
Using crate::raw::IntoRawIter::make_safe
to convert to an Option
is recommended.
The returned UniquePtr cannot outlive the cache.
Source§impl VerIterator
impl VerIterator
Sourcepub unsafe fn version_files(&self) -> UniquePtr<VerFileIterator>
pub unsafe fn version_files(&self) -> UniquePtr<VerFileIterator>
Return the version files. You go through here to get the package files.
§Safety
If the inner pointer is null segfaults can occur.
Using crate::raw::IntoRawIter::make_safe
to convert to an Option
is recommended.
The returned UniquePtr cannot outlive the cache.
Source§impl VerIterator
impl VerIterator
Sourcepub unsafe fn translated_desc(&self) -> UniquePtr<DescIterator>
pub unsafe fn translated_desc(&self) -> UniquePtr<DescIterator>
This is for backend records lookups.
§Safety
If the inner pointer is null segfaults can occur.
Using crate::raw::IntoRawIter::make_safe
to convert to an Option
is recommended.
The returned UniquePtr cannot outlive the cache.