pub(crate) enum FromRawReprError<E> {
None,
Err(E),
}Expand description
The error from converting from a RawRepr.
Variants§
None
The RawRepr doesn’t affect the high-level repr we’re parsing (e.g.
it’s align(...) and we’re parsing a CompoundRepr).
Err(E)
The RawRepr is invalid for the high-level repr we’re parsing (e.g.
it’s packed repr and we’re parsing an AlignRepr for an enum type).
Auto Trait Implementations§
impl<E> Freeze for FromRawReprError<E>where
E: Freeze,
impl<E> RefUnwindSafe for FromRawReprError<E>where
E: RefUnwindSafe,
impl<E> Send for FromRawReprError<E>where
E: Send,
impl<E> Sync for FromRawReprError<E>where
E: Sync,
impl<E> Unpin for FromRawReprError<E>where
E: Unpin,
impl<E> UnwindSafe for FromRawReprError<E>where
E: UnwindSafe,
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