pub trait LaunchControllable {
// Required methods
fn bootstrap(&self) -> LaunchctlResult<()>;
fn boot_out(&self) -> LaunchctlResult<()>;
fn is_running(&self) -> LaunchctlResult<bool>;
}Expand description
Trait for controlling launch agents via launchctl.
Required Methods§
Sourcefn bootstrap(&self) -> LaunchctlResult<()>
fn bootstrap(&self) -> LaunchctlResult<()>
Bootstrap the launch agent.
Sourcefn boot_out(&self) -> LaunchctlResult<()>
fn boot_out(&self) -> LaunchctlResult<()>
Boot out the launch agent.
Sourcefn is_running(&self) -> LaunchctlResult<bool>
fn is_running(&self) -> LaunchctlResult<bool>
Check if the launch agent is running.