pub struct VerifiedInstalledArtifact { /* private fields */ }Implementations§
Source§impl VerifiedInstalledArtifact
impl VerifiedInstalledArtifact
pub fn plugin_id(&self) -> &str
pub fn version(&self) -> &str
pub fn publisher(&self) -> &str
pub const fn abi_major(&self) -> u16
pub const fn abi_minor_range(&self) -> (u16, u16)
pub const fn transport(&self) -> PluginArtifactTransport
pub fn target(&self) -> &str
pub const fn format(&self) -> PluginArtifactFormat
pub fn architecture(&self) -> &str
pub fn capabilities(&self) -> &[PluginCapabilityDescriptor]
pub fn requires(&self) -> &[PluginRequirement]
pub fn provides(&self) -> &[PluginProvision]
pub fn minimum_os(&self) -> Option<&str>
pub fn runtime_dependencies(&self) -> &[PluginRuntimeDependencySource]
pub fn installed_path(&self) -> &Path
pub fn sha256(&self) -> &str
Sourcepub fn artifact_descriptor(
&self,
) -> Result<PluginArtifactDescriptor, PluginPackageError>
pub fn artifact_descriptor( &self, ) -> Result<PluginArtifactDescriptor, PluginPackageError>
Projects the verified installed metadata into the pure catalog model. The process-private snapshot remains outside the returned descriptor.
pub fn catalog_record(&self) -> Result<PluginCatalogRecord, PluginPackageError>
Sourcepub fn snapshot_path(&self) -> &Path
pub fn snapshot_path(&self) -> &Path
Process-private immutable snapshot used by checked loaders.
pub fn read_snapshot( &self, maximum_bytes: usize, ) -> Result<Vec<u8>, PluginPackageError>
Trait Implementations§
Source§impl Clone for VerifiedInstalledArtifact
impl Clone for VerifiedInstalledArtifact
Source§fn clone(&self) -> VerifiedInstalledArtifact
fn clone(&self) -> VerifiedInstalledArtifact
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 moreAuto Trait Implementations§
impl Freeze for VerifiedInstalledArtifact
impl RefUnwindSafe for VerifiedInstalledArtifact
impl Send for VerifiedInstalledArtifact
impl Sync for VerifiedInstalledArtifact
impl Unpin for VerifiedInstalledArtifact
impl UnsafeUnpin for VerifiedInstalledArtifact
impl UnwindSafe for VerifiedInstalledArtifact
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