Enum convo::error::ImportError[][src]

pub enum ImportError {
    IO(Error),
    Scan(ScanError),
    Validation(TreeError),
    MultipleDocumentsProvided(),
}
Expand description

A ImportError is a category of errors returned by parser functions that returns Results.

Variants

IO(Error)

An error caused when IO issues occur during importing.

Scan(ScanError)

An error caused when YAML is unable to be scanned in.

Validation(TreeError)

An error caused when a tree is not considered legal when parsing. See also: validation rules.

MultipleDocumentsProvided()

An error caused when the target content contains multiple YAML documents.

Trait Implementations

Formats the value using the given formatter. Read more

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 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.