pub struct LayoutMismatch {
pub type_name: String,
pub stored: String,
pub own: String,
}Expand description
A layout disagreement found at run time: a value built by one image was reached by another
whose own layout for type_name differs.
Fields§
§type_name: StringThe mismatched type’s name.
stored: StringThe layout recorded by the creating image, as text (e.g. its size).
own: StringThe layout the reporting image computed for itself.
Trait Implementations§
Source§impl Clone for LayoutMismatch
impl Clone for LayoutMismatch
Source§impl Debug for LayoutMismatch
impl Debug for LayoutMismatch
Source§impl Display for LayoutMismatch
impl Display for LayoutMismatch
impl Eq for LayoutMismatch
Source§impl Hash for LayoutMismatch
impl Hash for LayoutMismatch
Source§impl PartialEq for LayoutMismatch
impl PartialEq for LayoutMismatch
impl StructuralPartialEq for LayoutMismatch
Auto Trait Implementations§
impl Freeze for LayoutMismatch
impl RefUnwindSafe for LayoutMismatch
impl Send for LayoutMismatch
impl Sync for LayoutMismatch
impl Unpin for LayoutMismatch
impl UnsafeUnpin for LayoutMismatch
impl UnwindSafe for LayoutMismatch
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