pub struct Item { /* private fields */ }Implementations§
Source§impl Item
impl Item
Sourcepub fn id(&self) -> u32
pub fn id(&self) -> u32
A client-supplied unique identifier.
APT progress reporting will store an ID as shown in “Get:42…”.
Sourcepub fn error_text(&self) -> String
pub fn error_text(&self) -> String
Contains a textual description of the error encountered if ItemState is StatError or StatAuthError.
Sourcepub fn active_subprocess(&self) -> String
pub fn active_subprocess(&self) -> String
Contains the name of the subprocess that is operating on this item.
For instance, “store”, “gzip”, “rred”, “gpgv”.
Sourcepub fn owner(&self) -> UniquePtr<PkgAcquire>
pub fn owner(&self) -> UniquePtr<PkgAcquire>
The acquire process with which this item is associated.
Trait Implementations§
Source§impl ExternType for Item
impl ExternType for Item
impl UniquePtrTarget for Item
Auto Trait Implementations§
impl !Freeze for Item
impl RefUnwindSafe for Item
impl !Send for Item
impl !Sync for Item
impl !Unpin for Item
impl UnwindSafe for Item
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