summaryrefslogtreecommitdiffstats
path: root/src/types.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-06-30 11:40:26 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-07-06 15:26:00 +0300
commite06308fed26e0730b2f8a15880a371cd38bfdf20 (patch)
tree47465e3d5a8098bc6f391ce1acfc3b5e69c8a150 /src/types.rs
parent03522c0298a50cdb943664f2786f6a58eebce828 (diff)
MailBackend: change more methods to Futures
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.rs b/src/types.rs
index a9b08e06..c56c8c53 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -53,6 +53,8 @@ pub enum StatusEvent {
BufClear,
BufSet(String),
UpdateStatus(String),
+ NewJob(JobId),
+ JobFinished(JobId),
}
/// `ThreadEvent` encapsulates all of the possible values we need to transfer between our threads