pub unsafe trait NSXPCListenerDelegate: NSObjectProtocol {
// Provided method
unsafe fn listener_shouldAcceptNewConnection(
&self,
listener: &NSXPCListener,
new_connection: &NSXPCConnection
) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
NSXPCConnection
only.