pub struct EventXpcConnect<'a> { /* private fields */ }
Available on crate feature
macos_14_0_0
and macOS only.Expand description
Notification for an XPC connection being established to a named service.
Implementations§
Source§impl<'a> EventXpcConnect<'a>
impl<'a> EventXpcConnect<'a>
Sourcepub fn service_name(&self) -> &'a OsStr
pub fn service_name(&self) -> &'a OsStr
Service name of the named service.
Sourcepub fn service_domain_type(&self) -> es_xpc_domain_type_t
pub fn service_domain_type(&self) -> es_xpc_domain_type_t
The type of XPC domain in which the service resides in.
Trait Implementations§
Source§impl<'a> Debug for EventXpcConnect<'a>
impl<'a> Debug for EventXpcConnect<'a>
Source§impl<'a> Hash for EventXpcConnect<'a>
impl<'a> Hash for EventXpcConnect<'a>
Source§impl<'a> PartialEq for EventXpcConnect<'a>
impl<'a> PartialEq for EventXpcConnect<'a>
impl<'a> Eq for EventXpcConnect<'a>
impl Send for EventXpcConnect<'_>
impl Sync for EventXpcConnect<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventXpcConnect<'a>
impl<'a> RefUnwindSafe for EventXpcConnect<'a>
impl<'a> Unpin for EventXpcConnect<'a>
impl<'a> UnwindSafe for EventXpcConnect<'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