[][src]Enum grue::error::ErrorKind

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

The specific kind of error that can occur.

Variants

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 From<ErrorKind> for Error[src]

impl PartialEq<ErrorKind> for ErrorKind[src]

impl Clone for ErrorKind[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for ErrorKind[src]

impl Display for ErrorKind[src]

impl Debug for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,