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
// SPDX-License-Identifier: GPL-2.0
//! The backend is `scxcli`, the one program that changes what
//! `scx.service` runs. scxtui spawns it for everything, reads its
//! `--json` output for state, and runs the privileged commands through
//! `pkexec` when it is not root. The trait exists so the application
//! logic is exercised against an in-memory stub in tests, not to
//! support another backend.
use crateListing;
use Result;
/// What a write command printed, for the message bar.
pub type Report = String;