introduce TaskState trait

Used to not require access to the WorkerTask struct outside
the `server` and `api2` module, so it'll be easier to
separate those backup/server/client parts into separate
crates.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2020-10-12 11:28:03 +02:00
parent adfcfb6788
commit d1993187b6
3 changed files with 74 additions and 0 deletions

View File

@ -1,3 +1,5 @@
pub mod task;
#[macro_use]
pub mod buildcfg;