pub struct LaunchAgentInstall {
pub plist_path: PathBuf,
pub loaded: bool,
pub load_error: Option<String>,
}Expand description
Outcome of installing the LaunchAgent.
Fields§
§plist_path: PathBufPath of the written plist.
loaded: boolWhether the agent was successfully loaded into the user’s
launchd session (launchctl bootstrap/load).
load_error: Option<String>Diagnostic when loaded is false (the plist is still
installed and will start at next login).
Trait Implementations§
Source§impl Clone for LaunchAgentInstall
impl Clone for LaunchAgentInstall
Source§fn clone(&self) -> LaunchAgentInstall
fn clone(&self) -> LaunchAgentInstall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LaunchAgentInstall
impl RefUnwindSafe for LaunchAgentInstall
impl Send for LaunchAgentInstall
impl Sync for LaunchAgentInstall
impl Unpin for LaunchAgentInstall
impl UnsafeUnpin for LaunchAgentInstall
impl UnwindSafe for LaunchAgentInstall
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