Struct oo_bindgen::model::ErrorType
source · 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§
source§impl<D> PartialEq for ErrorType<D>where
D: DocReference + PartialEq,
impl<D> PartialEq for ErrorType<D>where
D: DocReference + PartialEq,
impl<D> Eq for ErrorType<D>where
D: DocReference + Eq,
impl<D> StructuralEq for ErrorType<D>where
D: DocReference,
impl<D> StructuralPartialEq for ErrorType<D>where
D: DocReference,
Auto Trait Implementations§
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