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: AlignFromBytesError,
},
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> Freeze for TargetDataLayoutErrors<'a>
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§
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