pub struct RustPlugin;
Expand description
Rust plugin that provides Rust toolchain tools
Implementations§
Source§impl RustPlugin
impl RustPlugin
Trait Implementations§
Source§impl Debug for RustPlugin
impl Debug for RustPlugin
Source§impl Default for RustPlugin
impl Default for RustPlugin
Source§fn default() -> RustPlugin
fn default() -> RustPlugin
Returns the “default value” for a type. Read more
Source§impl VxPlugin for RustPlugin
impl VxPlugin for RustPlugin
Source§fn description(&self) -> &str
fn description(&self) -> &str
Plugin description (optional) Read more
Source§fn supports_tool(&self, tool_name: &str) -> bool
fn supports_tool(&self, tool_name: &str) -> bool
Check if this plugin supports a specific tool Read more
Plugin author (optional) Read more
Source§fn package_managers(&self) -> Vec<Box<dyn VxPackageManager>>
fn package_managers(&self) -> Vec<Box<dyn VxPackageManager>>
Get all package managers provided by this plugin Read more
Source§fn initialize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn initialize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Initialize the plugin (optional) Read more
Source§fn shutdown<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Shutdown the plugin (optional) Read more
Source§fn supports_package_manager(&self, pm_name: &str) -> bool
fn supports_package_manager(&self, pm_name: &str) -> bool
Check if this plugin supports a specific package manager Read more
Source§fn get_tool(&self, tool_name: &str) -> Option<Box<dyn VxTool>>
fn get_tool(&self, tool_name: &str) -> Option<Box<dyn VxTool>>
Get a specific tool by name Read more
Source§fn get_package_manager(
&self,
pm_name: &str,
) -> Option<Box<dyn VxPackageManager>>
fn get_package_manager( &self, pm_name: &str, ) -> Option<Box<dyn VxPackageManager>>
Get a specific package manager by name Read more
Source§fn is_compatible_with(&self, vx_version: &str) -> bool
fn is_compatible_with(&self, vx_version: &str) -> bool
Check plugin compatibility with the current vx version Read more
Auto Trait Implementations§
impl Freeze for RustPlugin
impl RefUnwindSafe for RustPlugin
impl Send for RustPlugin
impl Sync for RustPlugin
impl Unpin for RustPlugin
impl UnwindSafe for RustPlugin
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