pub trait Installer: Send + Sync {
// Required methods
fn info(&self) -> &DebuggerInfo;
fn status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<InstallStatus>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn best_method<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<InstallMethod>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn install<'life0, 'async_trait>(
&'life0 self,
opts: InstallOptions,
) -> Pin<Box<dyn Future<Output = Result<InstallResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn uninstall<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn verify<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<VerifyResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait for debugger installers
Required Methods§
Sourcefn info(&self) -> &DebuggerInfo
fn info(&self) -> &DebuggerInfo
Get debugger metadata
Sourcefn status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<InstallStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<InstallStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check current installation status
Sourcefn best_method<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<InstallMethod>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn best_method<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<InstallMethod>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Find the best installation method for current platform
Sourcefn install<'life0, 'async_trait>(
&'life0 self,
opts: InstallOptions,
) -> Pin<Box<dyn Future<Output = Result<InstallResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn install<'life0, 'async_trait>(
&'life0 self,
opts: InstallOptions,
) -> Pin<Box<dyn Future<Output = Result<InstallResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Install the debugger