fidl_fuchsia_net_mdns

Trait ServiceSubscriber2ProxyInterface

Source
pub trait ServiceSubscriber2ProxyInterface: Send + Sync {
    // Required methods
    fn subscribe_to_service(
        &self,
        service: &str,
        options: &ServiceSubscriptionOptions,
        listener: ClientEnd<ServiceSubscriptionListenerMarker>,
    ) -> Result<(), Error>;
    fn subscribe_to_all_services(
        &self,
        options: &ServiceSubscriptionOptions,
        listener: ClientEnd<ServiceSubscriptionListenerMarker>,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn subscribe_to_service( &self, service: &str, options: &ServiceSubscriptionOptions, listener: ClientEnd<ServiceSubscriptionListenerMarker>, ) -> Result<(), Error>

Source

fn subscribe_to_all_services( &self, options: &ServiceSubscriptionOptions, listener: ClientEnd<ServiceSubscriptionListenerMarker>, ) -> Result<(), Error>

Implementors§