#[non_exhaustive]pub enum CppErrorKind {
InvalidFormat,
OutOfBounds,
InvalidAddress,
Unsupported,
Core,
Dyld,
}Expand description
The CppErrorKind type.
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.
InvalidFormat
The InvalidFormat variant.
OutOfBounds
The OutOfBounds variant.
InvalidAddress
The InvalidAddress variant.
Unsupported
The Unsupported variant.
Core
The Core variant.
Dyld
The Dyld variant.
Trait Implementations§
Source§impl Clone for CppErrorKind
impl Clone for CppErrorKind
impl Copy for CppErrorKind
Source§impl Debug for CppErrorKind
impl Debug for CppErrorKind
impl Eq for CppErrorKind
Source§impl PartialEq for CppErrorKind
impl PartialEq for CppErrorKind
impl StructuralPartialEq for CppErrorKind
Auto Trait Implementations§
impl Freeze for CppErrorKind
impl RefUnwindSafe for CppErrorKind
impl Send for CppErrorKind
impl Sync for CppErrorKind
impl Unpin for CppErrorKind
impl UnsafeUnpin for CppErrorKind
impl UnwindSafe for CppErrorKind
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