Enum rustc_codegen_ssa::back::write::Message
source · pub enum Message<B: WriteBackendMethods> {
Token(Result<Acquired>),
NeedsFatLTO {
result: FatLTOInput<B>,
worker_id: usize,
},
NeedsThinLTO {
name: String,
thin_buffer: B::ThinBuffer,
worker_id: usize,
},
NeedsLink {
module: ModuleCodegen<B::Module>,
worker_id: usize,
},
Done {
result: Result<CompiledModule, Option<WorkerFatalError>>,
worker_id: usize,
},
CodegenDone {
llvm_work_item: WorkItem<B>,
cost: u64,
},
AddImportOnlyModule {
module_data: SerializedModule<B::ModuleBuffer>,
work_product: WorkProduct,
},
CodegenComplete,
CodegenItem,
CodegenAborted,
}
Variants§
Token(Result<Acquired>)
NeedsFatLTO
NeedsThinLTO
NeedsLink
Done
CodegenDone
AddImportOnlyModule
CodegenComplete
CodegenItem
CodegenAborted
Auto Trait Implementations§
impl<B> !RefUnwindSafe for Message<B>
impl<B> Send for Message<B>
impl<B> Sync for Message<B>
impl<B> Unpin for Message<B>where
<B as WriteBackendMethods>::Module: Unpin,
<B as WriteBackendMethods>::ModuleBuffer: Unpin,
<B as WriteBackendMethods>::ThinBuffer: Unpin,
impl<B> !UnwindSafe for Message<B>
Blanket Implementations§
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.