pub struct RsExtension { /* private fields */ }Expand description
Rust package registry extension backed by crates.io and Cargo metadata.
Trait Implementations§
Source§impl Clone for RsExtension
impl Clone for RsExtension
Source§fn clone(&self) -> RsExtension
fn clone(&self) -> RsExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RsExtension
impl Debug for RsExtension
Source§impl Extension for RsExtension
impl Extension for RsExtension
Source§fn identify_package_dependencies(
&self,
package_name: &str,
package_version: &Option<&str>,
_extension_args: &Vec<String>,
) -> Result<Vec<PackageDependencies>>
fn identify_package_dependencies( &self, package_name: &str, package_version: &Option<&str>, _extension_args: &Vec<String>, ) -> Result<Vec<PackageDependencies>>
Returns resolved dependencies for a crates.io package release.
fn name(&self) -> String
fn registries(&self) -> Vec<String>
Source§fn review_target_policy(&self) -> ReviewTargetPolicy
fn review_target_policy(&self) -> ReviewTargetPolicy
Return automatic review-target selection policy for this extension.
Source§fn identify_file_defined_dependencies(
&self,
working_directory: &PathBuf,
_extension_args: &Vec<String>,
) -> Result<Vec<FileDefinedDependencies>>
fn identify_file_defined_dependencies( &self, working_directory: &PathBuf, _extension_args: &Vec<String>, ) -> Result<Vec<FileDefinedDependencies>>
Identify file defined dependencies.
Source§fn registries_package_metadata(
&self,
package_name: &str,
package_version: &Option<&str>,
) -> Result<Vec<RegistryPackageMetadata>>
fn registries_package_metadata( &self, package_name: &str, package_version: &Option<&str>, ) -> Result<Vec<RegistryPackageMetadata>>
Query package registries for package metadata.
Auto Trait Implementations§
impl Freeze for RsExtension
impl RefUnwindSafe for RsExtension
impl Send for RsExtension
impl Sync for RsExtension
impl Unpin for RsExtension
impl UnsafeUnpin for RsExtension
impl UnwindSafe for RsExtension
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