#[non_exhaustive]pub enum NativeExceptionKind {
Standard,
Unknown,
}Expand description
The native exception category captured at the rustduck-sys boundary.
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.
Standard
A native std::exception was caught.
Unknown
A native exception outside the std::exception hierarchy was caught.
Trait Implementations§
Source§impl Clone for NativeExceptionKind
impl Clone for NativeExceptionKind
Source§fn clone(&self) -> NativeExceptionKind
fn clone(&self) -> NativeExceptionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativeExceptionKind
Source§impl Debug for NativeExceptionKind
impl Debug for NativeExceptionKind
impl Eq for NativeExceptionKind
Source§impl PartialEq for NativeExceptionKind
impl PartialEq for NativeExceptionKind
impl StructuralPartialEq for NativeExceptionKind
Auto Trait Implementations§
impl Freeze for NativeExceptionKind
impl RefUnwindSafe for NativeExceptionKind
impl Send for NativeExceptionKind
impl Sync for NativeExceptionKind
impl Unpin for NativeExceptionKind
impl UnsafeUnpin for NativeExceptionKind
impl UnwindSafe for NativeExceptionKind
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