Enum up_rs::tasks::TasksError[][src]

pub enum TasksError {
    ReadDir {
        path: PathBuf,
        source: Error,
    },
    ReadFile {
        path: PathBuf,
        source: Error,
    },
    EnvLookup {
        var: String,
        source: Error,
    },
    MissingCmd {
        name: String,
    },
    CheckCmdFailed {
        name: String,
        source: Error,
        cmd: Vec<String>,
    },
    None {},
    InvalidToml {
        path: PathBuf,
        source: Error,
    },
}

Errors thrown by this file.

Variants

ReadDir

Error walking directory ‘{path}’:

Fields of ReadDir

path: PathBufsource: Error
ReadFile

Error reading file ‘{path}’:

Fields of ReadFile

path: PathBufsource: Error
EnvLookup

Env lookup error, please define ‘{var}’ in your up.toml:“

Fields of EnvLookup

var: Stringsource: Error
MissingCmd

Task ‘{name}’ had no run command.

Fields of MissingCmd

name: String
CheckCmdFailed

Task ‘{name}’ check command failed. Command: {cmd:?}.

Fields of CheckCmdFailed

name: Stringsource: Errorcmd: Vec<String>
None

Unexpectedly empty option found.

Fields of None

InvalidToml

Invalid toml at ‘{path}’:

Fields of InvalidToml

path: PathBufsource: Error

Trait Implementations

impl Debug for TasksError[src]

impl Display for TasksError[src]

impl Error for TasksError[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.