struct InstallUi<'a> {
ui: &'a mut Ui<Stdout>,
progress: ProgressHandle,
install_spinner: Option<SpinnerGuard>,
}Fields§
§ui: &'a mut Ui<Stdout>§progress: ProgressHandle§install_spinner: Option<SpinnerGuard>Trait Implementations§
Source§impl InstallObserver for InstallUi<'_>
impl InstallObserver for InstallUi<'_>
Source§fn choose_package(
&mut self,
query: &str,
matches: &[CatalogPackage],
) -> Result<usize>
fn choose_package( &mut self, query: &str, matches: &[CatalogPackage], ) -> Result<usize>
Choose one package from the catalog matches returned for a reference. Read more
Source§fn on_start(&mut self, total_bytes: Option<u64>)
fn on_start(&mut self, total_bytes: Option<u64>)
Signal that installer download is about to start. Read more
Source§fn on_progress(&mut self, downloaded_bytes: u64)
fn on_progress(&mut self, downloaded_bytes: u64)
Report cumulative installer download progress in bytes.
Source§fn on_install_start(&mut self, message: &str)
fn on_install_start(&mut self, message: &str)
Signal that the post-download install phase is starting.
Source§fn on_install_complete(&mut self)
fn on_install_complete(&mut self)
Signal that the post-download install phase has completed. Read more
Auto Trait Implementations§
impl<'a> Freeze for InstallUi<'a>
impl<'a> !RefUnwindSafe for InstallUi<'a>
impl<'a> !Send for InstallUi<'a>
impl<'a> !Sync for InstallUi<'a>
impl<'a> Unpin for InstallUi<'a>
impl<'a> !UnwindSafe for InstallUi<'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