pub struct InstallProgressFancy<'a> { /* private fields */ }Expand description
Struct for displaying Progress of Package Installation.
The Default implementation mirrors apt’s.
Implementations§
Source§impl<'a> InstallProgressFancy<'a>
impl<'a> InstallProgressFancy<'a>
Sourcepub fn new(inner: impl DynInstallProgress + 'static) -> Self
pub fn new(inner: impl DynInstallProgress + 'static) -> Self
Create a new OpProgress Struct from a struct that implements AcquireProgress trait.
pub fn pin(&mut self) -> Pin<&mut InstallProgressFancy<'a>>
Trait Implementations§
Source§impl Default for InstallProgressFancy<'_>
impl Default for InstallProgressFancy<'_>
Source§impl ExternType for InstallProgressFancy<'_>
Impl for sending InstallProgressFancy across the barrier.
impl ExternType for InstallProgressFancy<'_>
Impl for sending InstallProgressFancy across the barrier.
Auto Trait Implementations§
impl<'a> Freeze for InstallProgressFancy<'a>
impl<'a> !RefUnwindSafe for InstallProgressFancy<'a>
impl<'a> !Send for InstallProgressFancy<'a>
impl<'a> !Sync for InstallProgressFancy<'a>
impl<'a> Unpin for InstallProgressFancy<'a>
impl<'a> !UnwindSafe for InstallProgressFancy<'a>
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