Struct endpoint_sec::EventBtmLaunchItemAdd
source · 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<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EventBtmLaunchItemAdd<'a>
impl<'a> !Sync 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