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§

source

unsafe fn netServiceBrowserWillSearch(&self, browser: &NSNetServiceBrowser)
where Self: Sized + Message,

source

unsafe fn netServiceBrowserDidStopSearch(&self, browser: &NSNetServiceBrowser)
where Self: Sized + Message,

source

unsafe fn netServiceBrowser_didNotSearch( &self, browser: &NSNetServiceBrowser, error_dict: &NSDictionary<NSString, NSNumber> )
where Self: Sized + Message,

Available on crate features NSDictionary and NSString and NSValue only.
source

unsafe fn netServiceBrowser_didFindDomain_moreComing( &self, browser: &NSNetServiceBrowser, domain_string: &NSString, more_coming: bool )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn netServiceBrowser_didFindService_moreComing( &self, browser: &NSNetServiceBrowser, service: &NSNetService, more_coming: bool )
where Self: Sized + Message,

source

unsafe fn netServiceBrowser_didRemoveDomain_moreComing( &self, browser: &NSNetServiceBrowser, domain_string: &NSString, more_coming: bool )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn netServiceBrowser_didRemoveService_moreComing( &self, browser: &NSNetServiceBrowser, service: &NSNetService, more_coming: bool )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSNetServiceBrowserDelegate

source§

const NAME: &'static str = "NSNetServiceBrowserDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSNetServiceBrowserDelegate

Implementations on Foreign Types§

source§

impl<T> NSNetServiceBrowserDelegate for ProtocolObject<T>

Implementors§