fidl_fuchsia_bluetooth_gatt

Trait Server_ProxyInterface

Source
pub trait Server_ProxyInterface: Send + Sync {
    type PublishServiceResponseFut: Future<Output = Result<Status, Error>> + Send;

    // Required method
    fn publish_service(
        &self,
        info: &ServiceInfo,
        delegate: ClientEnd<LocalServiceDelegateMarker>,
        service: ServerEnd<LocalServiceMarker>,
    ) -> Self::PublishServiceResponseFut;
}

Required Associated Types§

Source

type PublishServiceResponseFut: Future<Output = Result<Status, Error>> + Send

Required Methods§

Source

fn publish_service( &self, info: &ServiceInfo, delegate: ClientEnd<LocalServiceDelegateMarker>, service: ServerEnd<LocalServiceMarker>, ) -> Self::PublishServiceResponseFut

Implementors§