pub enum LauncherRequest {
Launch {
agent: ServerEnd<DebugAgentMarker>,
responder: LauncherLaunchResponder,
},
GetAgents {
iterator: ServerEnd<AgentIteratorMarker>,
control_handle: LauncherControlHandle,
},
_UnknownMethod {
ordinal: u64,
control_handle: LauncherControlHandle,
method_type: MethodType,
},
}
Variants§
Launch
Launch a new instance of DebugAgent listening on |agent|. The DebugAgent will exit upon closing the corresponding client_end of this channel. Clients must not close the channel until the debugging session is completed.
GetAgents
Iterator over all DebugAgent instances.
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: LauncherControlHandle
§
method_type: MethodType
Implementations§
Source§impl LauncherRequest
impl LauncherRequest
pub fn into_launch( self, ) -> Option<(ServerEnd<DebugAgentMarker>, LauncherLaunchResponder)>
pub fn into_get_agents( self, ) -> Option<(ServerEnd<AgentIteratorMarker>, LauncherControlHandle)>
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 LauncherRequest
impl !RefUnwindSafe for LauncherRequest
impl Send for LauncherRequest
impl Sync for LauncherRequest
impl Unpin for LauncherRequest
impl !UnwindSafe for LauncherRequest
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