pub trait DriverHostProxyInterface: Send + Sync {
type StartResponseFut: Future<Output = Result<DriverHostStartResult, Error>> + Send;
type StartLoadedDriverResponseFut: Future<Output = Result<DriverHostStartLoadedDriverResult, Error>> + Send;
type GetProcessInfoResponseFut: Future<Output = Result<DriverHostGetProcessInfoResult, Error>> + Send;
type FindDriverCrashInfoByThreadKoidResponseFut: Future<Output = Result<DriverHostFindDriverCrashInfoByThreadKoidResult, Error>> + Send;
// Required methods
fn start(
&self,
start_args: DriverStartArgs,
driver: ServerEnd<DriverMarker>,
host_name: &str,
) -> Self::StartResponseFut;
fn start_loaded_driver(
&self,
start_args: DriverStartArgs,
dynamic_linking_abi: u64,
driver: ServerEnd<DriverMarker>,
) -> Self::StartLoadedDriverResponseFut;
fn get_process_info(&self) -> Self::GetProcessInfoResponseFut;
fn install_loader(
&self,
loader: ClientEnd<LoaderMarker>,
) -> Result<(), Error>;
fn trigger_stack_trace(&self) -> Result<(), Error>;
fn find_driver_crash_info_by_thread_koid(
&self,
thread_koid: u64,
) -> Self::FindDriverCrashInfoByThreadKoidResponseFut;
}Required Associated Types§
type StartResponseFut: Future<Output = Result<DriverHostStartResult, Error>> + Send
type StartLoadedDriverResponseFut: Future<Output = Result<DriverHostStartLoadedDriverResult, Error>> + Send
type GetProcessInfoResponseFut: Future<Output = Result<DriverHostGetProcessInfoResult, Error>> + Send
type FindDriverCrashInfoByThreadKoidResponseFut: Future<Output = Result<DriverHostFindDriverCrashInfoByThreadKoidResult, Error>> + Send
Required Methods§
fn start( &self, start_args: DriverStartArgs, driver: ServerEnd<DriverMarker>, host_name: &str, ) -> Self::StartResponseFut
fn start_loaded_driver( &self, start_args: DriverStartArgs, dynamic_linking_abi: u64, driver: ServerEnd<DriverMarker>, ) -> Self::StartLoadedDriverResponseFut
fn get_process_info(&self) -> Self::GetProcessInfoResponseFut
fn install_loader(&self, loader: ClientEnd<LoaderMarker>) -> Result<(), Error>
fn trigger_stack_trace(&self) -> Result<(), Error>
fn find_driver_crash_info_by_thread_koid( &self, thread_koid: u64, ) -> Self::FindDriverCrashInfoByThreadKoidResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".