pub enum ServiceProviderRequest {
ConnectToService {
chan: Channel,
info: ConnectionInfo,
control_handle: ServiceProviderControlHandle,
},
}
Expand description
A ServiceProvider is a factory for one service.
Variants§
ConnectToService
Connect chan
to the service (called in response to Overnet.ConnectToService).
info
provides additional data about the connection request.
Implementations§
source§impl ServiceProviderRequest
impl ServiceProviderRequest
pub fn into_connect_to_service( self ) -> Option<(Channel, ConnectionInfo, ServiceProviderControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL