Enum graphannis::errors::GraphAnnisError[][src]

#[non_exhaustive]
pub enum GraphAnnisError {
Show 25 variants Core(GraphAnnisCoreError), AQLSyntaxError(AQLError), AQLSemanticError(AQLError), ImpossibleSearch(String), Timeout, LoadingGraphFailed { name: String, }, NoSuchCorpus(String), CorpusExists(String), NoSuchNodeID(String), PlanDescriptionMissing, PlanCostMissing, NoExecutionNode(usize), NoComponentForNode(usize), LHSOperandNotFound, RHSOperandNotFound, InvalidFrequencyDefinition, CorpusStorage(CorpusStorageError), RelAnnisImportError(RelAnnisError), Io(Error), TomlDeserializer(Error), TomlSerializer(Error), Zip(ZipError), StripPathPrefix(StripPrefixError), Csv(Error), ParseIntError(ParseIntError),
}

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

Core(GraphAnnisCoreError)

Tuple Fields

AQLSyntaxError(AQLError)

Tuple Fields

AQLSemanticError(AQLError)

Tuple Fields

ImpossibleSearch(String)

Tuple Fields

0: String

Timeout

LoadingGraphFailed

Fields

name: String

NoSuchCorpus(String)

Tuple Fields

0: String

CorpusExists(String)

Tuple Fields

0: String

NoSuchNodeID(String)

Tuple Fields

0: String

PlanDescriptionMissing

PlanCostMissing

NoExecutionNode(usize)

Tuple Fields

0: usize

NoComponentForNode(usize)

Tuple Fields

0: usize

LHSOperandNotFound

RHSOperandNotFound

InvalidFrequencyDefinition

CorpusStorage(CorpusStorageError)

Tuple Fields

RelAnnisImportError(RelAnnisError)

Tuple Fields

Io(Error)

Tuple Fields

0: Error

TomlDeserializer(Error)

Tuple Fields

0: Error

TomlSerializer(Error)

Tuple Fields

0: Error

Zip(ZipError)

Tuple Fields

StripPathPrefix(StripPrefixError)

Tuple Fields

Csv(Error)

Tuple Fields

0: Error

ParseIntError(ParseIntError)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

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

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.