Enum versio::errors::ErrorKind[][src]

pub enum ErrorKind {
Show 16 variants Num(ParseIntError), Io(Error), Git2(Error), Yaml(ScanError), SerdeYaml(Error), SerdeJson(Error), Toml(Error), Regex(Error), Utf(Utf8Error), Glob(PatternError), Xml(Error), Log(SetLoggerError), Octo(Error), Liquid(Error), Ignore(Error), Msg(String), // some variants omitted
}
Expand description

The kind of an error.

Variants

Num

Tuple Fields of Num

0: ParseIntError
Io

Tuple Fields of Io

0: Error
Git2

Tuple Fields of Git2

0: Error
Yaml

Tuple Fields of Yaml

0: ScanError
SerdeYaml

Tuple Fields of SerdeYaml

0: Error
SerdeJson

Tuple Fields of SerdeJson

0: Error
Toml

Tuple Fields of Toml

0: Error
Regex

Tuple Fields of Regex

0: Error
Utf

Tuple Fields of Utf

0: Utf8Error
Glob

Tuple Fields of Glob

0: PatternError
Xml

Tuple Fields of Xml

0: Error
Log

Tuple Fields of Log

0: SetLoggerError
Octo

Tuple Fields of Octo

0: Error
Liquid

Tuple Fields of Liquid

0: Error
Ignore

Tuple Fields of Ignore

0: Error
Msg

A convenient variant for String.

Tuple Fields of Msg

0: String

Implementations

A string describing the error kind.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The error type produced by a failed conversion.

Convert the given value into an approximately equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an approximately equivalent representation.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Approximate the subject with the default scheme.

Approximate the subject with a specific scheme.

Approximate the subject to a given type with the default scheme.

Approximate the subject to a given type with a specific scheme.

Convert the subject to a given type.

Attempt to convert the subject to a given type.

Attempt a value conversion of the subject to a given type.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The error type produced by a failed conversion.

Convert the given value into the subject type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the subject into the destination type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the given value into an exactly equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an exactly equivalent representation.