struct NoopInstallObserver;Trait Implementations§
Source§impl InstallObserver for NoopInstallObserver
impl InstallObserver for NoopInstallObserver
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 Freeze for NoopInstallObserver
impl RefUnwindSafe for NoopInstallObserver
impl Send for NoopInstallObserver
impl Sync for NoopInstallObserver
impl Unpin for NoopInstallObserver
impl UnwindSafe for NoopInstallObserver
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