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
Source
fn on_multi_part_download_complete(&self, _results: Vec<OperationResult>)
Called when all parts of a multi-part download have been completed. Read more
Source
fn on_part_download(&self, _result: OperationResult)
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