spacedrive/core
Oscar Beaumont d5ddfcc667
Job System - Simplify data (#1017)
* yeet

* destructure `JobState` when passed to `finalize`.
Let him cook.

* `impl Job for JobInitData` instead of it being `Job::Init`
The pan is on high heat and the 3 sh-meats are coming out.

* Remove `JobInitData` & `IntoJob` & `Job::new`

* clean up a little

* Remove `Job.stateful_job` in favor of `Job.state.init`
Yeah this isn't great but lets get these changes working and then think again about it.

* Properly call `StatefulJob.finalize`

* she'll be right

* fix `initialize_resumable_job`

* builder syntax for creating jobs

* Have Rust gone too far?

* Minor fixes

* fixes

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2023-06-27 07:15:49 +00:00
..
prisma [ENG-779] Finalize UI (#986) 2023-06-22 06:34:45 +00:00
src Job System - Simplify data (#1017) 2023-06-27 07:15:49 +00:00
build.rs improvements to spacedrive:// custom URI protocol (#550) 2023-02-14 13:27:11 +08:00
Cargo.toml [ENG-568] Spacedrop Progress (#956) 2023-06-18 08:40:51 +00:00