pub struct EventBtmLaunchItemAdd<'a> { /* private fields */ }
Available on crate feature
macos_13_0_0
and macOS only.Expand description
A launch item being made known to background task management.
Implementations§
Source§impl<'a> EventBtmLaunchItemAdd<'a>
impl<'a> EventBtmLaunchItemAdd<'a>
Sourcepub fn instigator(&self) -> Option<Process<'a>>
pub fn instigator(&self) -> Option<Process<'a>>
Optional. Process that instigated the BTM operation (XPC caller that asked for the item to be added).
Sourcepub fn item(&self) -> BtmLaunchItem<'a>
pub fn item(&self) -> BtmLaunchItem<'a>
BTM launch item.
Sourcepub fn executable_path(&self) -> &'a OsStr
pub fn executable_path(&self) -> &'a OsStr
Optional. If available and applicable, the POSIX executable path from the launchd plist. If
the path is relative, it is relative to item.app_url
.
Trait Implementations§
Source§impl<'a> Debug for EventBtmLaunchItemAdd<'a>
impl<'a> Debug for EventBtmLaunchItemAdd<'a>
Source§impl<'a> Hash for EventBtmLaunchItemAdd<'a>
impl<'a> Hash for EventBtmLaunchItemAdd<'a>
Source§impl<'a> PartialEq for EventBtmLaunchItemAdd<'a>
impl<'a> PartialEq for EventBtmLaunchItemAdd<'a>
impl<'a> Eq for EventBtmLaunchItemAdd<'a>
impl Send for EventBtmLaunchItemAdd<'_>
impl Sync for EventBtmLaunchItemAdd<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventBtmLaunchItemAdd<'a>
impl<'a> RefUnwindSafe for EventBtmLaunchItemAdd<'a>
impl<'a> Unpin for EventBtmLaunchItemAdd<'a>
impl<'a> UnwindSafe for EventBtmLaunchItemAdd<'a>
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