pub struct StagedPlugin {
pub manifest: PluginManifest,
pub plugin_dir: PathBuf,
pub source: PluginSource,
/* private fields */
}Expand description
The result of staging a PluginSourceInput into plugins_dir()/<id>/:
the validated manifest (so a caller can preview manifest.provides —
what the install WILL register — before committing to install()), the
final on-disk plugin_dir, and the PluginSource provenance record
install() expects. See the module docs for the backup/swap contract.
Fields§
§manifest: PluginManifest§plugin_dir: PathBuf§source: PluginSourceImplementations§
Source§impl StagedPlugin
impl StagedPlugin
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StagedPlugin
impl RefUnwindSafe for StagedPlugin
impl Send for StagedPlugin
impl Sync for StagedPlugin
impl Unpin for StagedPlugin
impl UnsafeUnpin for StagedPlugin
impl UnwindSafe for StagedPlugin
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