pub enum ToolRunnerRequest {
RunTool {
tool: String,
args: Option<Vec<String>>,
stdio_params: StdioParams,
close_controller: ServerEnd<CloseControllerMarker>,
responder: ToolRunnerRunToolResponder,
},
}
Expand description
Protocol for running driver tools in the playground.
Variants§
RunTool
Run a tool.
Fields
§
stdio_params: StdioParams
§
close_controller: ServerEnd<CloseControllerMarker>
§
responder: ToolRunnerRunToolResponder
Implementations§
Source§impl ToolRunnerRequest
impl ToolRunnerRequest
pub fn into_run_tool( self, ) -> Option<(String, Option<Vec<String>>, StdioParams, ServerEnd<CloseControllerMarker>, ToolRunnerRunToolResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolRunnerRequest
impl !RefUnwindSafe for ToolRunnerRequest
impl Send for ToolRunnerRequest
impl Sync for ToolRunnerRequest
impl Unpin for ToolRunnerRequest
impl !UnwindSafe for ToolRunnerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more