]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-rest-server/src/worker_task.rs
introduce TaskState trait
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 12 Oct 2020 09:28:03 +0000 (11:28 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 12 Oct 2020 12:11:57 +0000 (14:11 +0200)
commitd1993187b6256cc33728b0ef8119e71ee2539a9d
treeaa92af5aff29ef0829da7dc9c58cc4ac3f8a02c1
parentadfcfb6788e50f57b8db1c05077ea16c39518555
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>
src/lib.rs
src/server/worker_task.rs
src/task.rs [new file with mode: 0644]