pub trait Shimable<'tool>: Send + Sync {
// Required method
fn create_shims<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), ProtoError>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
Self: 'async_trait;
// Provided method
fn get_shim_path(&self) -> Option<&Path> { ... }
}
Required Methods§
sourcefn create_shims<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), ProtoError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn create_shims<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<(), ProtoError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self: 'async_trait,
Create one or many shims in the root of the tool’s install directory.
Provided Methods§
sourcefn get_shim_path(&self) -> Option<&Path>
fn get_shim_path(&self) -> Option<&Path>
Return an absolute path to the shim file if utilizing shims.