pub enum DaemonCommand {
Status,
Reload,
ChannelSet {
channel: String,
account: String,
enabled: bool,
workspace: Option<String>,
remote_tools: Option<RemoteTools>,
},
ChannelLogout {
channel: String,
account: String,
},
Delegations {
all: bool,
},
DelegationKill {
handle: Option<String>,
orphans: bool,
},
RestartWhenIdle {
version: Option<String>,
commit: Option<String>,
parent: Option<String>,
max_wait_seconds: Option<u64>,
},
}Variants§
Status
Reload
ChannelSet
Enable or disable one channel account, optionally changing its workspace and remote tool grant.
Fields
§
remote_tools: Option<RemoteTools>Omitted keeps the saved setting.
ChannelLogout
Stop one channel account and remove its credentials and state.
Delegations
List running delegations; all includes orphans awaiting cleanup.
DelegationKill
Stop one delegation by handle, or every orphaned one.
RestartWhenIdle
Restart into the release installed at the daemon’s own path once the
requesting delegation has finished and its report is stored and no
owner message is being answered, or at max_wait_seconds anyway.
Trait Implementations§
Source§impl Clone for DaemonCommand
impl Clone for DaemonCommand
Source§impl Debug for DaemonCommand
impl Debug for DaemonCommand
Source§impl<'de> Deserialize<'de> for DaemonCommand
impl<'de> Deserialize<'de> for DaemonCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DaemonCommand
Source§impl PartialEq for DaemonCommand
impl PartialEq for DaemonCommand
Source§impl Serialize for DaemonCommand
impl Serialize for DaemonCommand
impl StructuralPartialEq for DaemonCommand
Auto Trait Implementations§
impl Freeze for DaemonCommand
impl RefUnwindSafe for DaemonCommand
impl Send for DaemonCommand
impl Sync for DaemonCommand
impl Unpin for DaemonCommand
impl UnsafeUnpin for DaemonCommand
impl UnwindSafe for DaemonCommand
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