pub struct OngoingCodegen<B: ExtraBackendMethods> {
    pub backend: B,
    pub metadata: EncodedMetadata,
    pub metadata_module: Option<CompiledModule>,
    pub crate_info: CrateInfo,
    pub coordinator_send: Sender<Box<dyn Any + Send>>,
    pub codegen_worker_receive: Receiver<Message<B>>,
    pub shared_emitter_main: SharedEmitterMain,
    pub future: JoinHandle<Result<CompiledModules, ()>>,
    pub output_filenames: Arc<OutputFilenames>,
}

Fields

backend: Bmetadata: EncodedMetadatametadata_module: Option<CompiledModule>crate_info: CrateInfocoordinator_send: Sender<Box<dyn Any + Send>>codegen_worker_receive: Receiver<Message<B>>shared_emitter_main: SharedEmitterMainfuture: JoinHandle<Result<CompiledModules, ()>>output_filenames: Arc<OutputFilenames>

Implementations

Consumes this context indicating that codegen was entirely aborted, and we need to exit as quickly as possible.

This method blocks the current thread until all worker threads have finished, and all worker threads should have exited or be real close to exiting at this point.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.