1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/// Behavior shared by every job type this CLI can run. One implementor
/// exists today: `commands::job::email_sync::EmailSyncJob`, introduced per
/// explicit direction, understood as a consistency/extensibility choice
/// rather than a response to a second job type actually existing -- ADR-0021
/// deliberately scoped that out; ADR-0023 Consequences names this cost
/// plainly. `commands::job::decrypt_files::DecryptFilesJob` (ADR-0028) was a
/// second implementor for a time; ADR-0134 removed it.
///
/// `gather`/`run` use native async fn in traits (stable since Rust 1.75,
/// no `async-trait` dependency needed) -- safe here because `Job` is only
/// ever used as a concrete type parameter (`EmailSyncJob`), never boxed as
/// `dyn Job`, so AFIT's dyn-compatibility limitation never applies.
pub