[][src]Enum raystack::ErrorKind

pub enum ErrorKind {
    Auth {
        err: AuthError,
    },
    Csv {
        err: Error,
    },
    Grid {
        err_grid: Grid,
    },
    Http {
        err: Error,
    },
    Io {
        msg: String,
    },
    ParseJsonGrid {
        msg: String,
    },
}

Describes the kinds of errors that can occur in this crate.

Variants

Auth

An error which occurred during the authorization process.

Fields of Auth

err: AuthError
Csv

An error related to CSVs.

Fields of Csv

err: Error
Grid

The grid contained error information from the server.

Fields of Grid

err_grid: Grid

The grid which caused this error.

Http

An error which originated from the underlying HTTP library.

Fields of Http

err: Error
Io

An IO error.

Fields of Io

msg: String
ParseJsonGrid

An error related to parsing a Grid.

Fields of ParseJsonGrid

msg: String

Trait Implementations

impl Debug for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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>, 

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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