Enum hyper_scripter::error::Error[][src]

pub enum Error {
Show 21 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), NoPreviousArgs, DontFuzz, Empty, Completion,
}

Variants

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

Tuple Fields of Others

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

Tuple Fields of SysPathNotFound

0: SysPath
PermissionDenied(Vec<PathBuf>)

Tuple Fields of PermissionDenied

0: Vec<PathBuf>
PathNotFound(Vec<PathBuf>)

Tuple Fields of PathNotFound

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

Tuple Fields of GeneralFS

0: Vec<PathBuf>1: Arc<Error>
PathExist(PathBuf)

Tuple Fields of PathExist

0: PathBuf
ScriptExist(String)

Tuple Fields of ScriptExist

0: String
ScriptIsFiltered(String)

Tuple Fields of ScriptIsFiltered

0: String
ScriptNotFound(String)

Tuple Fields of ScriptNotFound

0: String
NoAlias(String)

Tuple Fields of NoAlias

0: String
UnknownType(String)

Tuple Fields of UnknownType

0: String
Format(FormatCodeString)

Tuple Fields of Format

0: FormatCode1: String
ScriptError(i32)

Tuple Fields of ScriptError

0: i32
PreRunError(i32)

Tuple Fields of PreRunError

0: i32
EditorError(i32Vec<String>)

Tuple Fields of EditorError

0: i321: Vec<String>
RedundantOpt(RedundantOpt)

Tuple Fields of RedundantOpt

0: RedundantOpt
TagFilterNotFound(String)

Tuple Fields of TagFilterNotFound

0: String
NoPreviousArgs
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)

recently added

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.