chore(download manager): Ensure that Downloadable is also send and sync

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-12-31 12:20:42 +11:00
parent 0a2ac25b1c
commit 1a89135342
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use super::{
application_download_error::ApplicationDownloadError, download_thread_control_flag::DownloadThreadControl, progress_object::ProgressObject
};
pub trait Downloadable: Sync {
pub trait Downloadable: Send + Sync {
fn get_progress_object(&self) -> Arc<ProgressObject>;
fn version(&self) -> String;
fn id(&self) -> String;