pub struct UnpackResult {
pub dest_dir: PathBuf,
pub manifest: PluginManifest,
pub sha256: String,
pub file_count: usize,
}Expand description
Result of unpacking an archive to a staging directory.
Fields§
§dest_dir: PathBufDirectory where the plugin was extracted.
manifest: PluginManifestParsed manifest from the extracted plugin.toml.
sha256: StringSHA-256 hex digest of the archive bytes (for verification).
file_count: usizeNumber of files extracted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnpackResult
impl RefUnwindSafe for UnpackResult
impl Send for UnpackResult
impl Sync for UnpackResult
impl Unpin for UnpackResult
impl UnsafeUnpin for UnpackResult
impl UnwindSafe for UnpackResult
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