pub enum ComponentRunnerRequest {
Start {
start_info: ComponentStartInfo,
controller: ServerEnd<ComponentControllerMarker>,
control_handle: ComponentRunnerControlHandle,
},
}
Expand description
A protocol used for running components.
This protocol is implemented by components which provide a runtime environment for other components.
Note: The component manager is the only intended direct client of this interface.
Variants§
Start
Fields
§
start_info: ComponentStartInfo
§
controller: ServerEnd<ComponentControllerMarker>
§
control_handle: ComponentRunnerControlHandle
Start running a component instance described by start_info
.
Component manager binds and uses controller
to control the
lifetime of the newly started component instance.
Errors are delivered as epitaphs over the ComponentController
protocol. In the event of an error, the runner must ensure that
resources are cleaned up.
Errors:
Implementations§
source§impl ComponentRunnerRequest
impl ComponentRunnerRequest
pub fn into_start( self ) -> Option<(ComponentStartInfo, ServerEnd<ComponentControllerMarker>, ComponentRunnerControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL