pub struct DriverHostComponent { /* private fields */ }Implementations§
Source§impl DriverHostComponent
impl DriverHostComponent
pub fn new( driver_host: DriverHostProxy, dynamic_linker_driver_loader: Option<DriverHostProxy>, scope: ExecutionScope, name_for_colocation: String, ) -> Self
Trait Implementations§
Source§impl DriverHost for DriverHostComponent
impl DriverHost for DriverHostComponent
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 name_for_colocation(&self) -> &str
fn trigger_stack_trace(&self)
Auto Trait Implementations§
impl Freeze for DriverHostComponent
impl !RefUnwindSafe for DriverHostComponent
impl Send for DriverHostComponent
impl Sync for DriverHostComponent
impl Unpin for DriverHostComponent
impl !UnwindSafe for DriverHostComponent
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more