Skip to main content
pub struct NoOpDownloadListener;

A no-op download listener that ignores all callbacks. Useful for operations where progress tracking is not needed.

Passing it behaves exactly like passing None; it is for code that needs a &dyn FileDownloadListener in hand regardless.

Trait Implementations

Called when all parts of a multi-part download have been completed. Read more
Called whenever a single part of a multi-part download has been completed. Read more
Source

fn on_full_file_download(&self, _file_names: Vec<String>)

Called once per batch of whole files fetched in one request, with the KiFS names of those saved, when at least one was. A file skipped because it already existed locally and overwriting is off counts as saved. Read more