Enum rustc_codegen_ssa::CodegenErrors
source · [−]pub enum CodegenErrors<'a> {
WrongFileType,
EmptyVersionNumber,
EncodingVersionMismatch {
version_array: String,
rlink_version: u32,
},
RustcVersionMismatch {
rustc_version: String,
current_version: &'a str,
},
}
Variants
WrongFileType
EmptyVersionNumber
EncodingVersionMismatch
RustcVersionMismatch
Auto Trait Implementations
impl<'a> RefUnwindSafe for CodegenErrors<'a>
impl<'a> Send for CodegenErrors<'a>
impl<'a> Sync for CodegenErrors<'a>
impl<'a> Unpin for CodegenErrors<'a>
impl<'a> UnwindSafe for CodegenErrors<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes
Size for each variant:
WrongFileType
: 0 bytesEmptyVersionNumber
: 0 bytesEncodingVersionMismatch
: 28 bytesRustcVersionMismatch
: 44 bytes