pub struct MountedModule {
pub spec: &'static ModuleSpec,
pub version: String,
pub source: PathBuf,
pub source_kind: ArtifactSource,
}Expand description
One already-fetched, already-verified module artifact ready to mount —
the input to generate_override. source MUST be absolute (Task 2’s
pre-flight enforces this before generation ever sees it).
Fields§
§spec: &'static ModuleSpecThe registry entry (carries id and gateway_module_id).
version: StringThe pinned version string.
source: PathBufAbsolute path to the verified cached artifact on the host.
source_kind: ArtifactSourceWhere the bytes came from this call (cache hit vs. fresh
download) — carried for ProvisionedModule, not used by
generation itself.
Trait Implementations§
Source§impl Clone for MountedModule
impl Clone for MountedModule
Auto Trait Implementations§
impl Freeze for MountedModule
impl RefUnwindSafe for MountedModule
impl Send for MountedModule
impl Sync for MountedModule
impl Unpin for MountedModule
impl UnsafeUnpin for MountedModule
impl UnwindSafe for MountedModule
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