pub enum PreparedPackage {
Files(Vec<ComponentFileSource>),
Uncached(Vec<DiscoveredComponent>),
}Expand description
A package’s resolved discovery inputs.
File-backed plans can be cached from their decisions and actual source bytes. Arbitrary computed components are returned without caching because their inputs cannot be verified by the shared file loader.
Variants§
Files(Vec<ComponentFileSource>)
A fixed, ordered inventory of component sources.
Uncached(Vec<DiscoveredComponent>)
Already computed components with plugin-owned input semantics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedPackage
impl RefUnwindSafe for PreparedPackage
impl Send for PreparedPackage
impl Sync for PreparedPackage
impl Unpin for PreparedPackage
impl UnsafeUnpin for PreparedPackage
impl UnwindSafe for PreparedPackage
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