[][src]Enum kickstart::errors::ErrorKind

pub enum ErrorKind {
    MissingTemplateDefinition,
    InvalidTemplate,
    UnreadableStdin,
    Git {
        err: Error,
    },
    Io {
        err: Error,
        path: PathBuf,
    },
    Tera {
        err: Error,
        path: Option<PathBuf>,
    },
    Toml {
        err: Error,
    },
    // some variants omitted
}

The specific type of an error.

Variants

MissingTemplateDefinition
InvalidTemplate
UnreadableStdin
Git

An error while cloning a repository

Fields of Git

err: Error
Io

An error while doing IO (reading/writing files)

Fields of Io

err: Errorpath: PathBuf
Tera

An error when rendering a template, where a template can also refer to a filename in the case kickstart

Fields of Tera

err: Errorpath: Option<PathBuf>
Toml

An error while deserializing a template.toml into a struct

Fields of Toml

err: Error

Trait Implementations

impl Debug for ErrorKind[src]

Auto Trait Implementations

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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,