pub enum CliAction {
Show 13 variants
Rpc(DaemonCommand),
List {
stats: bool,
},
Logs {
repo_path: PathBuf,
follow: bool,
limit: usize,
},
FsMonitorHelper {
version: u8,
token: Option<String>,
repo: Option<PathBuf>,
},
StreamEvents,
RunDaemon,
StartDaemon,
StopDaemon,
OneshotDaemon {
repo_path: PathBuf,
},
RunTray,
DbStats,
DbCompact,
DbPruneLogs {
older_than_days: u64,
},
}Expand description
High-level action resolved from the CLI.
Variants§
Rpc(DaemonCommand)
List
Logs
FsMonitorHelper
StreamEvents
RunDaemon
StartDaemon
StopDaemon
OneshotDaemon
RunTray
DbStats
DbCompact
DbPruneLogs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliAction
impl RefUnwindSafe for CliAction
impl Send for CliAction
impl Sync for CliAction
impl Unpin for CliAction
impl UnwindSafe for CliAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more