pub struct LoadedPackage {
pub manifest: Manifest,
pub component: ComponentSource,
pub root: Option<PathBuf>,
pub bundled: bool,
}Expand description
A validated package ready to load.
Fields§
§manifest: ManifestManifest.
component: ComponentSourceComponent.
root: Option<PathBuf>Package root on disk (resources), when any.
bundled: boolBundled with Oino (grants such as "*" hosts are trusted).
Trait Implementations§
Source§impl Clone for LoadedPackage
impl Clone for LoadedPackage
Auto Trait Implementations§
impl Freeze for LoadedPackage
impl RefUnwindSafe for LoadedPackage
impl Send for LoadedPackage
impl Sync for LoadedPackage
impl Unpin for LoadedPackage
impl UnsafeUnpin for LoadedPackage
impl UnwindSafe for LoadedPackage
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