pub enum HostRequest {
Open {
channel: ServerEnd<HostMarker>,
control_handle: HostControlHandle,
},
}
Variants§
Open
Connects to the host driver on the provided handle. The zircon channel is closed in the event of an error connecting to the driver.
Implementations§
source§impl HostRequest
impl HostRequest
pub fn into_open(self) -> Option<(ServerEnd<HostMarker>, HostControlHandle)>
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 HostRequest
impl !RefUnwindSafe for HostRequest
impl Send for HostRequest
impl Sync for HostRequest
impl Unpin for HostRequest
impl !UnwindSafe for HostRequest
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