pub enum ServicePublisherRequest {
PublishService {
service_name: String,
provider: ClientEnd<ServiceProviderMarker>,
control_handle: ServicePublisherControlHandle,
},
}
Expand description
Interfaces applicable to sharing services with ServiceConsumer’s
Variants§
PublishService
Register a new service to be exported by Overnet.
If an existing service has the same service_name
, it’s replaced by this service.
Implementations§
source§impl ServicePublisherRequest
impl ServicePublisherRequest
pub fn into_publish_service( self ) -> Option<(String, ClientEnd<ServiceProviderMarker>, ServicePublisherControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL