#[repr(i32)]pub enum ErrorKind {
Success = 0,
Timeout = 1,
NotFound = 2,
InvalidArgument = 3,
RuntimeError = 4,
OutOfRange = 5,
Unknown = 6,
}Expand description
Error classification for FFI boundary.
These error codes allow Rust code to classify C++ exceptions and convert them to appropriate CarlaError variants.
Variants§
Success = 0
Timeout = 1
NotFound = 2
InvalidArgument = 3
RuntimeError = 4
OutOfRange = 5
Unknown = 6
Trait Implementations§
impl Eq for ErrorKind
Source§impl ExternType for ErrorKind
impl ExternType for ErrorKind
impl StructuralPartialEq for ErrorKind
impl UniquePtrTarget for ErrorKind
impl VectorElement for ErrorKind
impl WeakPtrTarget for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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