pub enum TargetDataLayoutErrors<'a> {
InvalidAddressSpace {
addr_space: &'a str,
cause: &'a str,
err: ParseIntError,
},
InvalidBits {
kind: &'a str,
bit: &'a str,
cause: &'a str,
err: ParseIntError,
},
MissingAlignment {
cause: &'a str,
},
InvalidAlignment {
cause: &'a str,
err: String,
},
InconsistentTargetArchitecture {
dl: &'a str,
target: &'a str,
},
InconsistentTargetPointerWidth {
pointer_size: u64,
target: u32,
},
InvalidBitsSize {
err: String,
},
}
Variants§
InvalidAddressSpace
InvalidBits
MissingAlignment
InvalidAlignment
InconsistentTargetArchitecture
InconsistentTargetPointerWidth
InvalidBitsSize
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TargetDataLayoutErrors<'a>
impl<'a> Send for TargetDataLayoutErrors<'a>
impl<'a> Sync for TargetDataLayoutErrors<'a>
impl<'a> Unpin for TargetDataLayoutErrors<'a>
impl<'a> UnwindSafe for TargetDataLayoutErrors<'a>
Blanket Implementations§
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: 56 bytes
Size for each variant:
InvalidAddressSpace
: 39 bytesInvalidBits
: 55 bytesMissingAlignment
: 23 bytesInvalidAlignment
: 47 bytesInconsistentTargetArchitecture
: 39 bytesInconsistentTargetPointerWidth
: 15 bytesInvalidBitsSize
: 31 bytes