pub(crate) enum Err {
Unspecified,
Unknown,
}
Variants
Unspecified
The layout of the type is unspecified.
Unknown
This error will be surfaced elsewhere by rustc, so don’t surface it.
Trait Implementations
sourceimpl<'tcx> From<LayoutError<'tcx>> for Err
impl<'tcx> From<LayoutError<'tcx>> for Err
sourcefn from(err: LayoutError<'tcx>) -> Self
fn from(err: LayoutError<'tcx>) -> Self
Converts to this type from the input type.
impl Copy for Err
Auto Trait Implementations
impl RefUnwindSafe for Err
impl Send for Err
impl Sync for Err
impl Unpin for Err
impl UnwindSafe for Err
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: 1 byte
Size for each variant:
Unspecified
: 0 bytesUnknown
: 0 bytes