mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-14 16:51:18 +10:00
chore(download manager): Ensure that Downloadable is also send and sync
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user