pub struct ErrorType<D>where
D: DocReference,{ /* private fields */ }
Expand description
A type that wraps an inner enum and provides information on how it maps to exceptions in languages that support them
Implementations§
Source§impl ErrorType<Unvalidated>
impl ErrorType<Unvalidated>
Sourcepub fn clone_enum(&self) -> EnumHandle
pub fn clone_enum(&self) -> EnumHandle
Clone the underlying Enum that represents the error
Trait Implementations§
impl<D> Eq for ErrorType<D>where
D: DocReference + Eq,
impl<D> StructuralPartialEq for ErrorType<D>where
D: DocReference,
Auto Trait Implementations§
impl<D> Freeze for ErrorType<D>
impl<D> RefUnwindSafe for ErrorType<D>where
D: RefUnwindSafe,
impl<D> !Send for ErrorType<D>
impl<D> !Sync for ErrorType<D>
impl<D> Unpin for ErrorType<D>
impl<D> UnwindSafe for ErrorType<D>where
D: RefUnwindSafe,
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