Enum meshopt::error::ErrorKind[][src]

pub enum ErrorKind {
    Native(i32),
    Memory(String),
    Parse(String),
    Path(PathBuf),
    Bug(String),
    Config(String),
    Io,
    Number,
    // some variants omitted
}

The specific kind of error that can occur.

Variants

Native(i32)

An error that occurred interfacing with native code through FFI.

Memory(String)

An error that occurred while accessing or allocating memory

Parse(String)

An error that occurred while parsing a data source

Path(PathBuf)

An error that occurred while working with a file path.

Bug(String)

Generally, these errors correspond to bugs in this library.

Config(String)

An error occurred while reading/writing a configuration

Io

An unexpected I/O error occurred.

Number

An error occurred while parsing a number in a free-form query.

Trait Implementations

impl Clone for ErrorKind[src]

impl Debug for ErrorKind[src]

impl Display for ErrorKind[src]

impl From<ErrorKind> for Error[src]

impl PartialEq<ErrorKind> for ErrorKind[src]

impl Eq for ErrorKind[src]

impl StructuralEq for ErrorKind[src]

impl StructuralPartialEq for ErrorKind[src]

Auto Trait Implementations

impl RefUnwindSafe for ErrorKind

impl Send for ErrorKind

impl Sync for ErrorKind

impl Unpin for ErrorKind

impl UnwindSafe for ErrorKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.