pub unsafe trait NSNetServiceBrowserDelegate: NSObjectProtocol {
// Provided methods
unsafe fn netServiceBrowserWillSearch(&self, browser: &NSNetServiceBrowser)
where Self: Sized + Message { ... }
unsafe fn netServiceBrowserDidStopSearch(
&self,
browser: &NSNetServiceBrowser
)
where Self: Sized + Message { ... }
unsafe fn netServiceBrowser_didNotSearch(
&self,
browser: &NSNetServiceBrowser,
error_dict: &NSDictionary<NSString, NSNumber>
)
where Self: Sized + Message { ... }
unsafe fn netServiceBrowser_didFindDomain_moreComing(
&self,
browser: &NSNetServiceBrowser,
domain_string: &NSString,
more_coming: bool
)
where Self: Sized + Message { ... }
unsafe fn netServiceBrowser_didFindService_moreComing(
&self,
browser: &NSNetServiceBrowser,
service: &NSNetService,
more_coming: bool
)
where Self: Sized + Message { ... }
unsafe fn netServiceBrowser_didRemoveDomain_moreComing(
&self,
browser: &NSNetServiceBrowser,
domain_string: &NSString,
more_coming: bool
)
where Self: Sized + Message { ... }
unsafe fn netServiceBrowser_didRemoveService_moreComing(
&self,
browser: &NSNetServiceBrowser,
service: &NSNetService,
more_coming: bool
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSNetServices
only.Provided Methods§
unsafe fn netServiceBrowserWillSearch(&self, browser: &NSNetServiceBrowser)
unsafe fn netServiceBrowserDidStopSearch(&self, browser: &NSNetServiceBrowser)
unsafe fn netServiceBrowser_didNotSearch( &self, browser: &NSNetServiceBrowser, error_dict: &NSDictionary<NSString, NSNumber> )
Available on crate features
NSDictionary
and NSString
and NSValue
only.unsafe fn netServiceBrowser_didFindDomain_moreComing( &self, browser: &NSNetServiceBrowser, domain_string: &NSString, more_coming: bool )
Available on crate feature
NSString
only.unsafe fn netServiceBrowser_didFindService_moreComing( &self, browser: &NSNetServiceBrowser, service: &NSNetService, more_coming: bool )
unsafe fn netServiceBrowser_didRemoveDomain_moreComing( &self, browser: &NSNetServiceBrowser, domain_string: &NSString, more_coming: bool )
Available on crate feature
NSString
only.