#[repr(i32)]pub enum CodeGenCompilationResult {
Success = 0,
NothingToCompile = 1,
NotNativeModule = 2,
CodeGenNotInitialized = 3,
CodeGenOverflowInstructionLimit = 4,
CodeGenOverflowBlockLimit = 5,
CodeGenOverflowBlockInstructionLimit = 6,
CodeGenAssemblerFinalizationFailure = 7,
CodeGenLoweringFailure = 8,
AllocationFailed = 9,
Count = 10,
}Variants§
Success = 0
NothingToCompile = 1
NotNativeModule = 2
CodeGenNotInitialized = 3
CodeGenOverflowInstructionLimit = 4
CodeGenOverflowBlockLimit = 5
CodeGenOverflowBlockInstructionLimit = 6
CodeGenAssemblerFinalizationFailure = 7
CodeGenLoweringFailure = 8
AllocationFailed = 9
Count = 10
Implementations§
Source§impl CodeGenCompilationResult
impl CodeGenCompilationResult
pub const Success: Self = Self::Success
pub const NothingToCompile: Self = Self::NothingToCompile
pub const NotNativeModule: Self = Self::NotNativeModule
pub const CodeGenNotInitialized: Self = Self::CodeGenNotInitialized
pub const CodeGenOverflowInstructionLimit: Self = Self::CodeGenOverflowInstructionLimit
pub const CodeGenOverflowBlockLimit: Self = Self::CodeGenOverflowBlockLimit
pub const CodeGenOverflowBlockInstructionLimit: Self = Self::CodeGenOverflowBlockInstructionLimit
pub const CodeGenAssemblerFinalizationFailure: Self = Self::CodeGenAssemblerFinalizationFailure
pub const CodeGenLoweringFailure: Self = Self::CodeGenLoweringFailure
pub const AllocationFailed: Self = Self::AllocationFailed
pub const Count: Self = Self::Count
Trait Implementations§
Source§impl Clone for CodeGenCompilationResult
impl Clone for CodeGenCompilationResult
Source§fn clone(&self) -> CodeGenCompilationResult
fn clone(&self) -> CodeGenCompilationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodeGenCompilationResult
Source§impl Debug for CodeGenCompilationResult
impl Debug for CodeGenCompilationResult
Source§impl Default for CodeGenCompilationResult
impl Default for CodeGenCompilationResult
impl Eq for CodeGenCompilationResult
Source§impl Hash for CodeGenCompilationResult
impl Hash for CodeGenCompilationResult
Source§impl PartialEq for CodeGenCompilationResult
impl PartialEq for CodeGenCompilationResult
Source§fn eq(&self, other: &CodeGenCompilationResult) -> bool
fn eq(&self, other: &CodeGenCompilationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeGenCompilationResult
Auto Trait Implementations§
impl Freeze for CodeGenCompilationResult
impl RefUnwindSafe for CodeGenCompilationResult
impl Send for CodeGenCompilationResult
impl Sync for CodeGenCompilationResult
impl Unpin for CodeGenCompilationResult
impl UnsafeUnpin for CodeGenCompilationResult
impl UnwindSafe for CodeGenCompilationResult
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