pub struct FnDownloadListener<F1, F2, F3>where
F1: Fn(Vec<OperationResult>) + Send + Sync,
F2: Fn(OperationResult) + Send + Sync,
F3: Fn(Vec<String>) + Send + Sync, /* private fields */ Implementations
Trait Implementations
Source
impl<F1, F2, F3>FileDownloadListener for FnDownloadListener<F1, F2, F3>
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