pub enum DriverHostRequest {
Start {
start_args: DriverStartArgs,
driver: ServerEnd<DriverMarker>,
responder: DriverHostStartResponder,
},
GetProcessInfo {
responder: DriverHostGetProcessInfoResponder,
},
InstallLoader {
loader: ClientEnd<LoaderMarker>,
control_handle: DriverHostControlHandle,
},
}
Expand description
Protocol through which a driver host can be managed.
Variants§
Start
Start a driver within a driver host.
Fields
§
start_args: DriverStartArgs
§
driver: ServerEnd<DriverMarker>
§
responder: DriverHostStartResponder
GetProcessInfo
Returns the job and process KOIDs of the driver host.
Fields
§
responder: DriverHostGetProcessInfoResponder
InstallLoader
Provides a loader service which should be installed via
dl_set_loader_service
.
Implementations§
Source§impl DriverHostRequest
impl DriverHostRequest
pub fn into_start( self, ) -> Option<(DriverStartArgs, ServerEnd<DriverMarker>, DriverHostStartResponder)>
pub fn into_get_process_info(self) -> Option<DriverHostGetProcessInfoResponder>
pub fn into_install_loader( self, ) -> Option<(ClientEnd<LoaderMarker>, DriverHostControlHandle)>
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 DriverHostRequest
impl !RefUnwindSafe for DriverHostRequest
impl Send for DriverHostRequest
impl Sync for DriverHostRequest
impl Unpin for DriverHostRequest
impl !UnwindSafe for DriverHostRequest
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