Trait objc2_foundation::NSXPCProxyCreating
source · pub unsafe trait NSXPCProxyCreating {
// Provided methods
unsafe fn remoteObjectProxy(&self) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn remoteObjectProxyWithErrorHandler(
&self,
handler: &Block<dyn Fn(NonNull<NSError>)>
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
unsafe fn synchronousRemoteObjectProxyWithErrorHandler(
&self,
handler: &Block<dyn Fn(NonNull<NSError>)>
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
}
Available on crate feature
NSXPCConnection
only.Provided Methods§
unsafe fn remoteObjectProxy(&self) -> Retained<AnyObject>
unsafe fn remoteObjectProxyWithErrorHandler( &self, handler: &Block<dyn Fn(NonNull<NSError>)> ) -> Retained<AnyObject>
Available on crate features
NSError
and block2
only.unsafe fn synchronousRemoteObjectProxyWithErrorHandler( &self, handler: &Block<dyn Fn(NonNull<NSError>)> ) -> Retained<AnyObject>
Available on crate features
NSError
and block2
only.