Trait DriverHost
Source pub trait DriverHost {
// Required methods
fn start<'life0, 'async_trait>(
&'life0 self,
start_args: DriverStartArgs,
driver: ServerEnd<DriverMarker>,
) -> Pin<Box<dyn Future<Output = Result<(), Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_with_dynamic_linker<'life0, 'async_trait>(
&'life0 self,
load_args: DriverLoadArgs,
start_args: DriverStartArgs,
driver: ServerEnd<DriverMarker>,
) -> Pin<Box<dyn Future<Output = Result<(), Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn install_loader(
&self,
loader: ClientEnd<LoaderMarker>,
) -> Result<(), Status>;
fn is_dynamic_linking_enabled(&self) -> bool;
fn get_process_koid<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Koid, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_process_info_internal<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ProcessInfo, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_crash_info<'life0, 'async_trait>(
&'life0 self,
thread_koid: Koid,
) -> Pin<Box<dyn Future<Output = Result<DriverCrashInfo, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn trigger_stack_trace(&self);
fn name_for_colocation(&self) -> &str;
}