pub struct Service {
pub name: String,
pub uid: String,
pub domain_target: String,
pub service_target: String,
pub plist_path: String,
pub error_log_path: String,
pub out_log_path: String,
}Expand description
Wrapper for the launchctl for more information about services on mac see https://ss64.com/mac/launchctl.html
Fields§
§name: StringName of the service typically (com.
uid: Stringid of logged in user typically 501
domain_target: StringThe target of the domain (gui/
service_target: StringThe target of the service (gui/
plist_path: StringPath to the plist file typically ~/Library/LaunchAgents/
error_log_path: StringPath to the error log file default (/tmp/
out_log_path: StringPath to the out log file default (/tmp/
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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