pub enum Error {
Show 20 variants Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>), SysPathNotFound(SysPath), PermissionDenied(Vec<PathBuf>), PathNotFound(Vec<PathBuf>), GeneralFS(Vec<PathBuf>, Arc<Error>), PathExist(PathBuf), ScriptExist(String), ScriptIsFiltered(String), ScriptNotFound(String), NoAlias(String), UnknownType(String), Format(FormatCodeString), ScriptError(i32), PreRunError(i32), EditorError(i32Vec<String>), RedundantOpt(RedundantOpt), TagFilterNotFound(String), DontFuzz, Empty, Completion,
}

Variants

Others(Vec<String>, Option<Arc<dyn Send + Sync + Error + 'static>>)

Tuple Fields

0: Vec<String>
1: Option<Arc<dyn Send + Sync + Error + 'static>>

SysPathNotFound(SysPath)

Tuple Fields

PermissionDenied(Vec<PathBuf>)

Tuple Fields

PathNotFound(Vec<PathBuf>)

Tuple Fields

GeneralFS(Vec<PathBuf>, Arc<Error>)

Tuple Fields

1: Arc<Error>

PathExist(PathBuf)

Tuple Fields

ScriptExist(String)

Tuple Fields

0: String

ScriptIsFiltered(String)

Tuple Fields

0: String

ScriptNotFound(String)

Tuple Fields

0: String

NoAlias(String)

Tuple Fields

0: String

UnknownType(String)

Tuple Fields

0: String

Format(FormatCodeString)

Tuple Fields

1: String

ScriptError(i32)

Tuple Fields

0: i32

PreRunError(i32)

Tuple Fields

0: i32

EditorError(i32Vec<String>)

Tuple Fields

0: i32
1: Vec<String>

RedundantOpt(RedundantOpt)

Tuple Fields

TagFilterNotFound(String)

Tuple Fields

0: String

DontFuzz

Empty

Completion

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.