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§