#[non_exhaustive]pub enum ExceptionType {
CheckedException,
UncheckedException,
}
Expand description
Type of exception to generate (only used in Java atm)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ExceptionType
impl Clone for ExceptionType
Source§fn clone(&self) -> ExceptionType
fn clone(&self) -> ExceptionType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExceptionType
impl Debug for ExceptionType
Source§impl Hash for ExceptionType
impl Hash for ExceptionType
Source§impl PartialEq for ExceptionType
impl PartialEq for ExceptionType
impl Copy for ExceptionType
impl Eq for ExceptionType
impl StructuralPartialEq for ExceptionType
Auto Trait Implementations§
impl Freeze for ExceptionType
impl RefUnwindSafe for ExceptionType
impl Send for ExceptionType
impl Sync for ExceptionType
impl Unpin for ExceptionType
impl UnwindSafe for ExceptionType
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