pub enum DiscoveryRequest {
GetGuest {
realm_name: Option<String>,
guest_name: String,
guest: ServerEnd<InteractionMarker>,
control_handle: DiscoveryControlHandle,
},
}
Expand description
Enables discovery of guest VM’s for control in tests.
Variants§
GetGuest
Finds the guest VM specified by realm name/guest name pair and connects to it to enable
file transfers and execution of commands. If realm_name
is null, DEFAULT_REALM
is
used instead.
Implementations§
Source§impl DiscoveryRequest
impl DiscoveryRequest
pub fn into_get_guest( self, ) -> Option<(Option<String>, String, ServerEnd<InteractionMarker>, DiscoveryControlHandle)>
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 DiscoveryRequest
impl !RefUnwindSafe for DiscoveryRequest
impl Send for DiscoveryRequest
impl Sync for DiscoveryRequest
impl Unpin for DiscoveryRequest
impl !UnwindSafe for DiscoveryRequest
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