#[non_exhaustive]pub enum DiagnosticsException {
MaximumNumberOfStackedDiagnosticsAreasExceeded,
StackedDiagnosticsAccessedWithoutActiveHandler,
Other(String),
}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.
MaximumNumberOfStackedDiagnosticsAreasExceeded
StackedDiagnosticsAccessedWithoutActiveHandler
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticsException
impl Clone for DiagnosticsException
Source§fn clone(&self) -> DiagnosticsException
fn clone(&self) -> DiagnosticsException
Returns a duplicate 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 DiagnosticsException
impl Debug for DiagnosticsException
Source§impl FromStr for DiagnosticsException
impl FromStr for DiagnosticsException
Source§impl Hash for DiagnosticsException
impl Hash for DiagnosticsException
Source§impl PartialEq for DiagnosticsException
impl PartialEq for DiagnosticsException
impl Eq for DiagnosticsException
impl StructuralPartialEq for DiagnosticsException
Auto Trait Implementations§
impl Freeze for DiagnosticsException
impl RefUnwindSafe for DiagnosticsException
impl Send for DiagnosticsException
impl Sync for DiagnosticsException
impl Unpin for DiagnosticsException
impl UnwindSafe for DiagnosticsException
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